import { encodeAreaInArea } from "https://deno.land/x/willow_utils@0.8.0/mod.ts";
Encode an Area
relative to known outer Area
.
https://willowprotocol.org/specs/encodings/index.html#enc_area_in_area
Parameters
opts: { encodeSubspace: (subspace: SubspaceId) => Uint8Array; orderSubspace: TotalOrder<SubspaceId>; pathScheme: PathScheme; }
inner: Area<SubspaceId>
outer: Area<SubspaceId>