Skip to content
PACKAGES

decodeCanonicalWireBridgeEnvelope()

Decodes canonical wire bridge envelope bytes.

import { decodeCanonicalWireBridgeEnvelope } from "@graphrefly/ts/adapters";
function decodeCanonicalWireBridgeEnvelope(bytes: Uint8Array): CanonicalWireBridgeEnvelope
ParameterTypeDescription
bytesUint8ArrayCanonical bytes to decode.

The decoded canonical frame or envelope.

import { decodeCanonicalWireBridgeEnvelope } from "@graphrefly/ts/adapters";

packages/ts/src/adapters/bridge-protobuf.ts