V8 API Reference Guide for node.js v9.10.0 - v9.11.1
Public Member Functions | List of all members
v8::ExternalOneByteStringResourceImpl Class Reference
Inheritance diagram for v8::ExternalOneByteStringResourceImpl:
Inheritance graph
[legend]
Collaboration diagram for v8::ExternalOneByteStringResourceImpl:
Collaboration graph
[legend]

Public Member Functions

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

Additional Inherited Members

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

Member Function Documentation

const char* v8::ExternalOneByteStringResourceImpl::data ( ) const
inlinevirtual

The string data from the underlying buffer.

Implements v8::String::ExternalOneByteStringResource.

size_t v8::ExternalOneByteStringResourceImpl::length ( ) const
inlinevirtual

The number of Latin-1 characters in the string.

Implements v8::String::ExternalOneByteStringResource.


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