Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/deps.ts>decodeAreaInArea

Exploring Willow in the most efficient and sound programming language
Go to Latest
function decodeAreaInArea
import { decodeAreaInArea } from "https://deno.land/x/willow@0.2.1/deps.ts";

Decode an Area relative to a known outer Area.

https://willowprotocol.org/specs/encodings/index.html#enc_area_in_area

Type Parameters

SubspaceId

Parameters

opts: { decodeSubspaceId: EncodingScheme<SubspaceId>["decode"]; pathScheme: PathScheme; }
encodedInner: Uint8Array