wrap
wrap(
instance,unwrapped):Promise<Uint8Array<ArrayBufferLike>>
Defined in: astrobase/src/wraps/wraps.ts:13
Creates a serialized Wrap buffer.
Parameters
Section titled “Parameters”instance
Section titled “instance”The Instance config.
unwrapped
Section titled “unwrapped”The Wrap type, value to wrap, and metadata;
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
The serialized Wrap buffer as a Promise.