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

x/willow/src/wgps/decoding/data.ts>decodeDataSendEntry

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

Type Parameters

DynamicToken
NamespaceId
SubspaceId
PayloadDigest

Parameters

opts: { decodeNamespaceId: (bytes: GrowingBytes) => Promise<NamespaceId>; decodeSubspaceId: (bytes: GrowingBytes) => Promise<SubspaceId>; decodeDynamicToken: (bytes: GrowingBytes) => Promise<DynamicToken>; decodePayloadDigest: (bytes: GrowingBytes) => Promise<PayloadDigest>; pathScheme: PathScheme; currentlyReceivedEntry: Entry<NamespaceId, SubspaceId, PayloadDigest>; aoiHandlesToArea: (senderHandle: bigint, receiverHandle: bigint) => Area<SubspaceId>; aoiHandlesToNamespace: (senderHandle: bigint, receiverHandle: bigint) => NamespaceId; }