GraphReFlyTS

API Reference

decodeCanonicalWireEdgeFrame()

Decodes canonical wire edge frame bytes.

Import

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

Signature

function decodeCanonicalWireEdgeFrame(bytes: Uint8Array): CanonicalWireEdgeFrame

Parameters

ParameterTypeDescription
bytesUint8ArrayCanonical bytes to decode.

Returns

The decoded canonical frame or envelope.

Example

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

Source

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