v8  4.5.103 (node 4.8.7)
V8 is Google's open source JavaScript engine
ExternalOneByteStringResourceImpl Class Reference

#include <v8.h>

Inheritance diagram for ExternalOneByteStringResourceImpl:
Collaboration diagram for ExternalOneByteStringResourceImpl:

Public Member Functions

 ExternalOneByteStringResourceImpl ()
 
 ExternalOneByteStringResourceImpl (const char *data, size_t length)
 
const char * data () const
 
size_t length () const
 
- Public Member Functions inherited from String::ExternalOneByteStringResource
virtual ~ExternalOneByteStringResource ()
 
- Public Member Functions inherited from String::ExternalStringResourceBase
virtual ~ExternalStringResourceBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from String::ExternalOneByteStringResource
 ExternalOneByteStringResource ()
 
- Protected Member Functions inherited from String::ExternalStringResourceBase
 ExternalStringResourceBase ()
 
virtual void Dispose ()
 

Detailed Description

Definition at line 4716 of file v8.h.

Constructor & Destructor Documentation

◆ ExternalOneByteStringResourceImpl() [1/2]

Definition at line 4719 of file v8.h.

◆ ExternalOneByteStringResourceImpl() [2/2]

ExternalOneByteStringResourceImpl ( const char *  data,
size_t  length 
)
inline

Definition at line 4720 of file v8.h.

Member Function Documentation

◆ data()

const char* data ( ) const
inlinevirtual

The string data from the underlying buffer.

Implements String::ExternalOneByteStringResource.

Definition at line 4722 of file v8.h.

◆ length()

size_t length ( ) const
inlinevirtual

The number of Latin-1 characters in the string.

Implements String::ExternalOneByteStringResource.

Definition at line 4723 of file v8.h.


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