decodeCanonicalWireBridgeEnvelope()
Decodes canonical wire bridge envelope bytes.
Import
Section titled “Import”import { decodeCanonicalWireBridgeEnvelope } from "@graphrefly/ts/adapters";Signature
Section titled “Signature”function decodeCanonicalWireBridgeEnvelope(bytes: Uint8Array): CanonicalWireBridgeEnvelopeParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
bytes | Uint8Array | Canonical bytes to decode. |
Returns
Section titled “Returns”The decoded canonical frame or envelope.
Example
Section titled “Example”import { decodeCanonicalWireBridgeEnvelope } from "@graphrefly/ts/adapters";Source
Section titled “Source”packages/ts/src/adapters/bridge-protobuf.ts