ByteManifest.decode.sst_count.value: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend as ByteManifest Lines 246-255 of mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend&start_line=246&end_line=255 import Base import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Selects the empty or one-table layout from its declared file count. def decode.sst_count.value( input: Bytes.Bytes, field: Maybe<&2, U32> ) -> Result<&1, &1, Error, ManifestValue>: match field: case None{}: Fail{Malformed{}} case Some{0}: decode.checksum(input, Empty{}, 24, 56) case Some{1}: decode.sst_name(input) case _: Fail{Malformed{}} Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend&name=ManifestValue https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend&name=decode.checksum https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend&name=decode.sst_name