onyx.state.serializers.checkpoint

Streaming serializer / deserializer for state checkpoints.

->StateCheckpointDecoder

(->StateCheckpointDecoder buffer length offset)
Positional factory function for class onyx.state.serializers.checkpoint.StateCheckpointDecoder.

->StateCheckpointEncoder

(->StateCheckpointEncoder buffer initial-offset offset)
Positional factory function for class onyx.state.serializers.checkpoint.StateCheckpointEncoder.

current-schema-version

empty-checkpoint-encoder

(empty-checkpoint-encoder)

new-decoder

(new-decoder bs)

SDecoder

protocol

members

get-metadata

(get-metadata this)

get-next-bytes

(get-next-bytes this)

get-schema-version

(get-schema-version this)

SEncoder

protocol

members

encoded-bytes

(encoded-bytes this)

length

(length this)

set-metadata

(set-metadata this bs)

set-next-bytes

(set-next-bytes this bs)

set-schema-version

(set-schema-version this version)