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

Public Member Functions

 ExternalOwningOneByteStringResource (std::unique_ptr< base::OS::MemoryMappedFile > file)
 
const chardata () const override
 
size_t length () const override
 
- 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
 

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 341 of file d8.cc.

Member Function Documentation

◆ data()

const char* v8::ExternalOwningOneByteStringResource::data ( ) const
inlineoverridevirtual

The string data from the underlying buffer.

Implements v8::String::ExternalOneByteStringResource.

Definition at line 348 of file d8.cc.

◆ length()

size_t v8::ExternalOwningOneByteStringResource::length ( ) const
inlineoverridevirtual

The number of Latin-1 characters in the string.

Implements v8::String::ExternalOneByteStringResource.

Definition at line 351 of file d8.cc.


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