def item.value.paired

mylsm-lsm-store@0.6.0.1 · src/coordinator/CursorCodec.bend:89

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

89# Combines the exact key and value byte slices into one cursor item.
90def item.value.paired(
91  pair: Bytes.Bytes & Bytes.Bytes,
92  key: Bytes.Bytes
93) -> Decision:
94  match pair:
95    case (_, value): Decoded{CursorItem{key, value}}

Uses (5)

Used by (1)