v8_valueserializer 0.1.1

A Rust implementation of V8's ValueSerializer and ValueDeserializer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
source: tests/serde.rs
description: "=== SOURCE ===\nconst buf = new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]).buffer;\nconst foo = { buf };\n[foo, new Uint8Array(buf)];\n"
---
const v0 = new Uint8Array([
  0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
  0x09, 0x0a,
]);
[
  {
    "buf": v0.buffer,
  },
  v0,
]