V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
#include <value-serializer.h>
Public Member Functions | |
ValueSerializer (Isolate *isolate, v8::ValueSerializer::Delegate *delegate) | |
void | WriteHeader () |
Maybe< bool > | WriteObject (Handle< Object > object) V8_WARN_UNUSED_RESULT |
std::vector< uint8_t > | ReleaseBuffer () |
std::pair< uint8_t *, size_t > | Release () |
void | TransferArrayBuffer (uint32_t transfer_id, Handle< JSArrayBuffer > array_buffer) |
void | WriteUint32 (uint32_t value) |
void | WriteUint64 (uint64_t value) |
void | WriteRawBytes (const void *source, size_t length) |
void | WriteDouble (double value) |
void | SetTreatArrayBufferViewsAsHostObjects (bool mode) |
Writes V8 objects in a binary format that allows the objects to be cloned according to the HTML structured clone algorithm.
Format is based on Blink's previous serialization logic.
Definition at line 48 of file value-serializer.h.