def put.measure

mylsm-lsm-store@0.6.0.1 · src/coordinator/Operation.bend:101

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

101def put.measure(
102  pair: Bytes.Bytes & U32,
103  key_lengths: U32 & U32 & U32,
104  value_lengths: U32 & U32 & U32
105) -> Decision:
106  match pair:
107    case (payload, actual_length):
108      put.bound.checked(payload, actual_length, key_lengths, value_lengths)

Uses (6)

Used by (1)