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
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 163 of file serialize.h.

Constructor & Destructor Documentation

SnapshotByteSource ( const byte array,
int  length 
)
inline

Definition at line 165 of file serialize.h.

Member Function Documentation

void Advance ( int  by)
inline

Definition at line 189 of file serialize.h.

Referenced by SnapshotByteSource::GetInt().

bool AtEOF ( )

Definition at line 1877 of file serialize.cc.

References SerializerDeserializer::nop().

Referenced by Deserializer::~Deserializer().

void CopyRaw ( byte to,
int  number_of_bytes 
)
inline

Definition at line 313 of file serialize.h.

References OS::MemCopy().

int Get ( )
inline

Definition at line 170 of file serialize.h.

References ASSERT.

int GetInt ( )
inline
int32_t GetUnalignedInt ( )
inline

Definition at line 175 of file serialize.h.

References ASSERT.

Referenced by SnapshotByteSource::GetInt().

bool HasMore ( )
inline

Definition at line 168 of file serialize.h.

int position ( )
inline

Definition at line 197 of file serialize.h.


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