def decode.sized.check_magic

mylsm-lsm-store@0.6.0.1 · src/ByteManifest.bend:413

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

413# Validates the size before reading fixed header fields.
414def decode.sized.check_magic(bytes: Bytes.Bytes) -> Result<&1, &1, Error, ManifestValue>:
415  decode.magic.copies(clone.split(bytes))

Uses (6)

Used by (1)