v8  6.2.414 (node 8.16.2)
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 ()
 
virtual bool IsCompressible () const
 

Additional Inherited Members

- Protected Member Functions inherited from String::ExternalOneByteStringResource
 ExternalOneByteStringResource ()
 
- Protected Member Functions inherited from String::ExternalStringResourceBase
 ExternalStringResourceBase ()
 
virtual void Dispose ()
 
 ExternalStringResourceBase (const ExternalStringResourceBase &)=delete
 
void operator= (const ExternalStringResourceBase &)=delete
 

Detailed Description

Definition at line 5972 of file v8.h.

Constructor & Destructor Documentation

◆ ExternalOneByteStringResourceImpl() [1/2]

Definition at line 5975 of file v8.h.

◆ ExternalOneByteStringResourceImpl() [2/2]

ExternalOneByteStringResourceImpl ( const char *  data,
size_t  length 
)
inline

Definition at line 5976 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 5978 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 5979 of file v8.h.


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