def decode.header

mylsm-lsm-store@0.6.0.1 · src/transfer/Restore.bend:926

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

926def decode.header(input: Bytes.Bytes, result: Result<&1, &1, Error, Header>) -> Result<&1, &1, Error, Decoded>:
927  match result:
928    case Fail{error}: Fail{error}
929    case Done{header}: decode.header.ready(input, header)

Uses (6)

Used by (1)