v8  7.9.317 (node 13.2.0)
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 37 of file v8-inspector.h.

Constructor & Destructor Documentation

◆ StringView() [1/3]

StringView ( )
inline

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

References StringView::m_characters8.

◆ StringView() [2/3]

StringView ( const uint8_t *  characters,
size_t  length 
)
inline

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

References StringView::m_characters8.

◆ StringView() [3/3]

StringView ( const uint16_t *  characters,
size_t  length 
)
inline

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

References StringView::m_characters16.

Member Function Documentation

◆ characters16()

const uint16_t* characters16 ( ) const
inline

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

◆ characters8()

const uint8_t* characters8 ( ) const
inline

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

◆ is8Bit()

bool is8Bit ( ) const
inline

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

◆ length()

size_t length ( ) const
inline

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

Field Documentation

◆ m_characters16

const uint16_t* m_characters16

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

Referenced by StringView::StringView().

◆ m_characters8

const uint8_t* m_characters8

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

Referenced by StringView::StringView().


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