def record.put
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
149def record.put(
150 key_pair: Bytes.Bytes & U32,
151 value_pair: Bytes.Bytes & U32
152) -> Result<&1, &1, Error, Bytes.Bytes>:
153 match key_pair:
154 case (key, +key_len):
155 record.put.value(key, key_len, value_pair)