Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / encodeCheckpoint

Function: encodeCheckpoint()

ts
function encodeCheckpoint(state): Uint8Array;

Defined in: packages/core/dist/index.d.ts

Serializes a checkpoint to its blob: format byte then UTF-8 JSON.

Parameters

ParameterType
stateCheckpointState

Returns

Uint8Array