Skip to content
PACKAGES

decodeCanonicalWireEdgeFrame()

Decodes canonical wire edge frame bytes.

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

The decoded canonical frame or envelope.

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

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