v8  3.14.5(node0.10.28)
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 ()
 
int32_t GetUnalignedInt ()
 
void Advance (int by)
 
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

void Advance ( int  by)
inline

Definition at line 187 of file serialize.h.

Referenced by SnapshotByteSource::GetInt().

bool AtEOF ( )

Definition at line 1620 of file serialize.cc.

References SerializerDeserializer::nop().

Referenced by Deserializer::~Deserializer().

void CopyRaw ( byte to,
int  number_of_bytes 
)
inline

Definition at line 311 of file serialize.h.

int Get ( )
inline

Definition at line 168 of file serialize.h.

References ASSERT.

int GetInt ( )
inline
int32_t GetUnalignedInt ( )
inline

Definition at line 173 of file serialize.h.

References ASSERT.

Referenced by SnapshotByteSource::GetInt().

bool HasMore ( )
inline

Definition at line 166 of file serialize.h.

int position ( )
inline

Definition at line 195 of file serialize.h.


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