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.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”unknown
options
Section titled “options”DeserializeSnapshotSetOptions<T>
Returns
Section titled “Returns”SnapshotSet<T>
Throws
Section titled “Throws”With MISSING_ELEMENT_CODEC when
options.codec is absent: supplying the codec is a caller contract, not a
property of the bytes.
Throws
Section titled “Throws”For malformed bytes, unsupported versions, invalid histories, duplicate values, or decode-budget violations.