def u8_bytes

mylsm-lsm-store@0.6.0.1 · src/Wal.bend:59

import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Wal
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

59# Encode an 8-bit value for bytes for the packed WAL codec.
60def u8_bytes(value: U32) -> Bytes.Bytes:
61  Bytes.set(Bytes.new(1), 0, value)

Uses (4)

Used by (1)