def stream.block.tail

mylsm-lsm-store@0.6.0.1 · src/SstFile.bend:1550

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

1550def stream.block.tail(cursor: Bytes.Cursor & Maybe<&2, U32>) -> Maybe<&2, U32>:
1551  match cursor:
1552    case (next, Some{+payload_len}):
1553      stream.block.tail.size(Bytes.Cursor.u32be(next), payload_len)
1554    case (_, None{}):
1555      None{}

Uses (7)

Used by (1)