Skip to content

Wrapped

Defined in: astrobase/src/wraps/types.ts:46

A deserialized wrapped value.

  • WrapBase<T>

T = unknown

metadata: FileBuilder<T>

Defined in: astrobase/src/wraps/types.ts:36

The metadata for the Wrap implementation. A File is used here for control over the media type used at serialization.

WrapBase.metadata


payload: Uint8Array

Defined in: astrobase/src/wraps/types.ts:48

The Wrap buffer.


type: string

Defined in: astrobase/src/wraps/types.ts:30

The Wrap type.

WrapBase.type