Skip to main content

Module marshaling

Module marshaling 

Source
Expand description

Shape <-> V8 type conversion via MessagePack.

Converts between msgpack-encoded Shape wire values and V8 JavaScript values.

Functionsยง

msgpack_to_v8
Deserialize a msgpack byte buffer into a vector of V8 values.
shape_type_to_ts_hint
Convert a Shape type name to a TypeScript type annotation string.
v8_to_msgpack
Convert a V8 value to a msgpack byte buffer.