V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::NativesExternalStringResource Class Referencefinal
Inheritance diagram for v8::internal::NativesExternalStringResource:
v8::String::ExternalOneByteStringResource v8::String::ExternalStringResourceBase

Public Member Functions

 NativesExternalStringResource (NativeType type, int index)
 
const chardata () const override
 
size_t length () const override
 
v8::String::ExternalOneByteStringResourceEncodeForSerialization () const
 
- Public Member Functions inherited from v8::String::ExternalOneByteStringResource
 ~ExternalOneByteStringResource () override=default
 
- Public Member Functions inherited from v8::String::ExternalStringResourceBase
 V8_DEPRECATED ("Use IsCacheable().", virtual bool IsCompressible() const)
 
virtual bool IsCacheable () const
 

Static Public Member Functions

static NativesExternalStringResourceDecodeForDeserialization (const v8::String::ExternalOneByteStringResource *encoded)
 

Additional Inherited Members

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

Detailed Description

Definition at line 64 of file natives.h.

Member Function Documentation

◆ data()

const char* v8::internal::NativesExternalStringResource::data ( ) const
inlineoverridevirtual

The string data from the underlying buffer.

Implements v8::String::ExternalOneByteStringResource.

Definition at line 69 of file natives.h.

◆ length()

size_t v8::internal::NativesExternalStringResource::length ( ) const
inlineoverridevirtual

The number of Latin-1 characters in the string.

Implements v8::String::ExternalOneByteStringResource.

Definition at line 70 of file natives.h.


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