V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::Utf8WriterVisitor Class Reference

Public Member Functions

 Utf8WriterVisitor (char *buffer, int capacity, bool skip_capacity_check, bool replace_invalid_utf8)
 
template<typename Char >
void Visit (const Char *chars, const int length)
 
bool IsDone ()
 
void VisitOneByteString (const uint8_t *chars, int length)
 
void VisitTwoByteString (const uint16_t *chars, int length)
 
int CompleteWrite (bool write_null, int *utf16_chars_read_out)
 

Static Public Member Functions

static int WriteEndCharacter (uint16_t character, int last_character, int remaining, char *const buffer, bool replace_invalid_utf8)
 

Detailed Description

Definition at line 5325 of file api.cc.


The documentation for this class was generated from the following file: