def put.value.length.keyed
mylsm-lsm-store@0.6.0.1 · src/coordinator/Operation.bend:122
import mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend as Operation
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
122def put.value.length.keyed(
123 pair: Bytes.Bytes & Maybe<&2, U32>,
124 measure: Bytes.Bytes
125) -> Decision:
126 match pair:
127 case (value_head, Some{key_length}):
128 put.value.parsed(Bytes.get.u32be(value_head, 4), measure, key_length)
129 case _: MalformedArguments{}