def u32_bytes
import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Walimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
55# Encode or decode a 32-bit word for bytes for the packed WAL codec.
56def u32_bytes(value: U32) -> Bytes.Bytes:
57 Bytes.set.u32be(Bytes.new(4), 0, value)