Skip to content

deserializeSnapshotSet<T>(value, options): SnapshotSet<T>

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

Restore a binary snapshot set after validating all counts, histories, snapshot identities, codec results, and duplicate values in staging data.

T

unknown

DeserializeSnapshotSetOptions<T>

SnapshotSet<T>

With MISSING_ELEMENT_CODEC when options.codec is absent: supplying the codec is a caller contract, not a property of the bytes.

For malformed bytes, unsupported versions, invalid histories, duplicate values, or decode-budget violations.