v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BinaryResource Class Reference

#include <d8.h>

Inheritance diagram for BinaryResource:
Collaboration diagram for BinaryResource:

Public Member Functions

 BinaryResource (const char *string, int length)
 
 ~BinaryResource ()
 
virtual const char * data () const
 
virtual size_t length () const
 
- Public Member Functions inherited from String::ExternalAsciiStringResource
virtual ~ExternalAsciiStringResource ()
 
- Public Member Functions inherited from String::ExternalStringResourceBase
virtual ~ExternalStringResourceBase ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 197 of file d8.h.

Constructor & Destructor Documentation

BinaryResource ( const char *  string,
int  length 
)
inline

Definition at line 199 of file d8.h.

~BinaryResource ( )
inline

Definition at line 203 of file d8.h.

References NULL.

Member Function Documentation

virtual const char* data ( ) const
inlinevirtual

The string data from the underlying buffer.

Implements String::ExternalAsciiStringResource.

Definition at line 209 of file d8.h.

virtual size_t length ( ) const
inlinevirtual

The number of ASCII characters in the string.

Implements String::ExternalAsciiStringResource.

Definition at line 210 of file d8.h.


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