jepsen.codec

Serializes and deserializes objects to/from bytes.

decode

(decode bytes)

Deserialize bytes to an object.

encode

(encode o)

Serialize an object to bytes.