v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Utf8InputBuffer< s > Class Template Reference

#include <unicode.h>

Inheritance diagram for Utf8InputBuffer< s >:
Collaboration diagram for Utf8InputBuffer< s >:

Public Member Functions

 Utf8InputBuffer ()
 
 Utf8InputBuffer (const char *data, unsigned length)
 
void Reset (const char *data, unsigned length)
 
- Public Member Functions inherited from InputBuffer< Utf8, Buffer< const char * >, s >
virtual void Rewind ()
 
void Reset (Buffer< const char * >input)
 
void Reset (unsigned position, Buffer< const char * >input)
 
void Seek (unsigned position)
 
- Public Member Functions inherited from CharacterStream
uchar GetNext ()
 
bool has_more ()
 
unsigned Length ()
 
unsigned Utf16Length ()
 
virtual ~CharacterStream ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CharacterStream
static bool EncodeCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset)
 
static bool EncodeAsciiCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset)
 
static bool EncodeNonAsciiCharacter (uchar c, byte *buffer, unsigned capacity, unsigned &offset)
 
static uchar DecodeCharacter (const byte *buffer, unsigned *offset)
 
- Protected Member Functions inherited from InputBuffer< Utf8, Buffer< const char * >, s >
 InputBuffer ()
 
 InputBuffer (Buffer< const char * >input)
 
virtual void FillBuffer ()
 
- Protected Attributes inherited from InputBuffer< Utf8, Buffer< const char * >, s >
unsigned offset_
 
Buffer< const char * > input_
 
byte util_buffer_ [kSize]
 
- Protected Attributes inherited from CharacterStream
unsigned remaining_
 
unsigned cursor_
 
const bytebuffer_
 

Detailed Description

template<unsigned s = 256>
class unibrow::Utf8InputBuffer< s >

Definition at line 247 of file unicode.h.

Constructor & Destructor Documentation

Utf8InputBuffer ( )
inline

Definition at line 249 of file unicode.h.

Utf8InputBuffer ( const char *  data,
unsigned  length 
)
inline

Definition at line 242 of file unicode-inl.h.

Member Function Documentation

void Reset ( const char *  data,
unsigned  length 
)
inline

Definition at line 251 of file unicode.h.


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