ReferenceFunctions
decodePath()
function decodePath(pathLen, raw): Path | null;Defined in: packages/protocol/src/path.ts:35
Decode a route from its pathLen byte and raw hop bytes; null when unknown.
Parameters
pathLen
number
Wire path length byte
raw
Uint8Array
Path bytes
Returns
Path | null