v8  5.5.372(node7.10.1)
V8 is Google's open source JavaScript engine
ValueDeserializer Class Reference

#include <v8.h>

Data Structures

class  Delegate
 

Public Member Functions

 ValueDeserializer (Isolate *isolate, const uint8_t *data, size_t size)
 
 ValueDeserializer (Isolate *isolate, const uint8_t *data, size_t size, Delegate *delegate)
 
 ~ValueDeserializer ()
 
V8_WARN_UNUSED_RESULT Maybe< bool > ReadHeader (Local< Context > context)
 
 V8_DEPRECATE_SOON ("Use Local<Context> version", Maybe< bool > ReadHeader())
 
V8_WARN_UNUSED_RESULT MaybeLocal< ValueReadValue (Local< Context > context)
 
void TransferArrayBuffer (uint32_t transfer_id, Local< ArrayBuffer > array_buffer)
 
void TransferSharedArrayBuffer (uint32_t transfer_id, Local< SharedArrayBuffer > shared_array_buffer)
 
void SetSupportsLegacyWireFormat (bool supports_legacy_wire_format)
 
uint32_t GetWireFormatVersion () const
 
V8_WARN_UNUSED_RESULT bool ReadUint32 (uint32_t *value)
 
V8_WARN_UNUSED_RESULT bool ReadUint64 (uint64_t *value)
 
V8_WARN_UNUSED_RESULT bool ReadDouble (double *value)
 
V8_WARN_UNUSED_RESULT bool ReadRawBytes (size_t length, const void **data)
 

Detailed Description

Deserializes values from data written with ValueSerializer, or a compatible implementation.

WARNING: This API is under development, and changes (including incompatible changes to the API or wire format) may occur without notice until this warning is removed.

Definition at line 1811 of file v8.h.

Constructor & Destructor Documentation

ValueDeserializer ( Isolate isolate,
const uint8_t *  data,
size_t  size 
)
ValueDeserializer ( Isolate isolate,
const uint8_t *  data,
size_t  size,
Delegate delegate 
)

Member Function Documentation

uint32_t GetWireFormatVersion ( ) const
V8_WARN_UNUSED_RESULT bool ReadDouble ( double *  value)
V8_WARN_UNUSED_RESULT Maybe<bool> ReadHeader ( Local< Context context)
V8_WARN_UNUSED_RESULT bool ReadRawBytes ( size_t  length,
const void **  data 
)
V8_WARN_UNUSED_RESULT bool ReadUint32 ( uint32_t *  value)
V8_WARN_UNUSED_RESULT bool ReadUint64 ( uint64_t *  value)
V8_WARN_UNUSED_RESULT MaybeLocal<Value> ReadValue ( Local< Context context)
void SetSupportsLegacyWireFormat ( bool  supports_legacy_wire_format)
void TransferArrayBuffer ( uint32_t  transfer_id,
Local< ArrayBuffer array_buffer 
)
void TransferSharedArrayBuffer ( uint32_t  transfer_id,
Local< SharedArrayBuffer shared_array_buffer 
)
V8_DEPRECATE_SOON ( "Use Local<Context> version"  ,
Maybe< bool >   ReadHeader() 
)

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