Expand description
V8 isolate runtime manager backed by the embedded V8 runtime.
Structs§
- Shared
V8Runtime - Thread-safe wrapper for V8Runtime that allows sending from multiple threads.
- V8Runtime
- Manages an embedded V8 runtime and its IPC connection.
Functions§
- base64_
decode_ pub - base64_
encode_ pub - Public base64 encode for use in bridge call handlers.
- cbor_
payload_ raw_ byte_ arg - cbor_
payload_ to_ json_ args - Deserialize a CBOR payload into a JSON array of arguments. The V8 bridge serializes bridge call args as a CBOR array.
- json_
to_ cbor_ payload - Serialize a JSON value to CBOR bytes for bridge responses.
- map_
bridge_ method - Bridge call method name mapping from V8 polyfill names to sidecar sync RPC names.
The V8 polyfills use underscore-prefixed camelCase names while the sidecar
uses dot-separated category.method names. The mapping lives in
bridge-contract.jsonso bridge installation and dispatch drift together.