def decode.magic.copies
import mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend as ByteManifestimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
405def decode.magic.copies(
406 copies: Bytes.Bytes & Bytes.Bytes
407) -> Result<&1, &1, Error, ManifestValue>:
408 match copies:
409 case (input, for_magic):
410 decode.magic.pair((input,
411 equal(Bytes.eq(slice.result(Bytes.slice(for_magic, 0, 8)), magic()))))