ReferenceFunctions
decodePathLength()
function decodePathLength(pathLen): PathLength | null;Defined in: packages/protocol/src/path.ts:20
Split a wire pathLen byte into hash size and hop count; null when the route is unknown.
Parameters
pathLen
number
Wire path length byte
Returns
PathLength | null