v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Utf8DecoderBase Class Reference

#include <unicode.h>

Inheritance diagram for Utf8DecoderBase:

Public Member Functions

 Utf8DecoderBase ()
 
 Utf8DecoderBase (uint16_t *buffer, unsigned buffer_length, const uint8_t *stream, unsigned stream_length)
 
unsigned Utf16Length () const
 

Protected Member Functions

void Reset (uint16_t *buffer, unsigned buffer_length, const uint8_t *stream, unsigned stream_length)
 

Static Protected Member Functions

static void WriteUtf16Slow (const uint8_t *stream, uint16_t *data, unsigned length)
 

Protected Attributes

const uint8_t * unbuffered_start_
 
unsigned utf16_length_
 
bool last_byte_of_buffer_unused_
 

Detailed Description

Definition at line 182 of file unicode.h.

Constructor & Destructor Documentation

Utf8DecoderBase ( )
inline

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

Utf8DecoderBase ( uint16_t buffer,
unsigned  buffer_length,
const uint8_t *  stream,
unsigned  stream_length 
)
inline

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

References Utf8DecoderBase::Reset().

Member Function Documentation

void Reset ( uint16_t buffer,
unsigned  buffer_length,
const uint8_t *  stream,
unsigned  stream_length 
)
protected
unsigned Utf16Length ( ) const
inline

Definition at line 190 of file unicode.h.

References Utf8DecoderBase::utf16_length_.

void WriteUtf16Slow ( const uint8_t *  stream,
uint16_t data,
unsigned  length 
)
staticprotected

Field Documentation

bool last_byte_of_buffer_unused_
protected

Definition at line 203 of file unicode.h.

Referenced by Utf8DecoderBase::Reset().

const uint8_t* unbuffered_start_
protected

Definition at line 201 of file unicode.h.

Referenced by Utf8DecoderBase::Reset().

unsigned utf16_length_
protected

Definition at line 202 of file unicode.h.

Referenced by Utf8DecoderBase::Reset(), and Utf8DecoderBase::Utf16Length().


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