v8  5.5.372(node7.10.1)
V8 is Google's open source JavaScript engine
StringView Class Reference

#include <v8-inspector.h>

Public Member Functions

 StringView ()
 
 StringView (const uint8_t *characters, size_t length)
 
 StringView (const uint16_t *characters, size_t length)
 
bool is8Bit () const
 
size_t length () const
 
const uint8_t * characters8 () const
 
const uint16_t * characters16 () const
 

Detailed Description

Definition at line 36 of file v8-inspector.h.

Constructor & Destructor Documentation

StringView ( )
inline

Definition at line 38 of file v8-inspector.h.

StringView ( const uint8_t *  characters,
size_t  length 
)
inline

Definition at line 40 of file v8-inspector.h.

References StringView::StringView().

Referenced by StringView::StringView().

StringView ( const uint16_t *  characters,
size_t  length 
)
inline

Definition at line 43 of file v8-inspector.h.

References StringView::StringView().

Referenced by StringView::StringView().

Member Function Documentation

const uint16_t* characters16 ( ) const
inline

Definition at line 52 of file v8-inspector.h.

const uint8_t* characters8 ( ) const
inline

Definition at line 51 of file v8-inspector.h.

bool is8Bit ( ) const
inline

Definition at line 46 of file v8-inspector.h.

size_t length ( ) const
inline

Definition at line 47 of file v8-inspector.h.

Field Documentation

const uint16_t* m_characters16

Definition at line 59 of file v8-inspector.h.

const uint8_t* m_characters8

Definition at line 58 of file v8-inspector.h.


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