Skip to content

serializeSnapshotSet<T>(set, codec, options?): Uint8Array

Defined in: packages/snapshot-set/src/serialization/binary.ts:91

Serialize exact snapshot identity, version, value order, and toggle history into canonical binary bytes.

T

SnapshotSet<T>

ElementCodec<T>

SerializeSnapshotSetOptions

Uint8Array

With MISSING_ELEMENT_CODEC, INVALID_CODEC_RESULT, NON_INJECTIVE_CODEC, or SERIALIZATION_LIMIT_EXCEEDED when the state cannot be represented safely.