def parse.result.sized

mylsm-lsm-store@0.6.0.1 · src/Manifest.bend:692

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

692def parse.result.sized(pair: Bytes.Bytes & U32) -> ParseResult:
693  match pair:
694    case (source, +size):
695      parse.result.bounded(source, U32.is_le(size, StorageBytes.MAX_MANIFEST_BYTES()))

Uses (8)

Used by (1)