Skip to main content

Module stable_cell

Module stable_cell 

Source

Structs§

StableCellLedgerRecord
StableCellLedgerRecord

Enums§

StableCellPayloadError
StableCellPayloadError

Constants§

STABLE_CELL_HEADER_SIZE
Stable-cell header byte length.
STABLE_CELL_LAYOUT_VERSION
Stable-cell layout version supported by this adapter.
STABLE_CELL_MAGIC
Stable-cell magic prefix written by ic-stable-structures::Cell.
STABLE_CELL_VALUE_OFFSET
Byte offset where the stable-cell value payload starts.

Functions§

decode_stable_cell_ledger_record
Decode a StableCellLedgerRecord from stable-cell value bytes.
decode_stable_cell_payload
Decode the raw value payload from an ic-stable-structures::Cell memory.