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

#include <serialize.h>

Public Member Functions

 SnapshotByteSource (const byte *array, int length)
 
bool HasMore ()
 
int Get ()
 
void CopyRaw (byte *to, int number_of_bytes)
 
int GetInt ()
 
bool AtEOF ()
 
int position ()
 

Detailed Description

Definition at line 161 of file serialize.h.

Constructor & Destructor Documentation

SnapshotByteSource ( const byte array,
int  length 
)
inline

Definition at line 163 of file serialize.h.

Member Function Documentation

bool AtEOF ( )
inline

Definition at line 177 of file serialize.h.

Referenced by Deserializer::~Deserializer().

void CopyRaw ( byte to,
int  number_of_bytes 
)
inline

Definition at line 324 of file serialize.h.

int Get ( )
inline

Definition at line 168 of file serialize.h.

References ASSERT.

Referenced by SnapshotByteSource::GetInt().

int GetInt ( )
inline

Definition at line 305 of file serialize.h.

References SnapshotByteSource::Get(), and UNREACHABLE.

bool HasMore ( )
inline

Definition at line 166 of file serialize.h.

int position ( )
inline

Definition at line 181 of file serialize.h.


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