def inflated

bend-kit-archive@0.5.1.0 · archive.bend:259

import bend-kit-archive@0.5.1.0/archive.bend as Archive
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

259def inflated(r: Result<&1, &1, U32 & String, Bytes.Bytes>) -> Result<&1, &1, U32 & String, Bytes.Bytes>:
260  match r:
261    case Fail{e}:
262      (+code, msg) = e
263      Fail{Bool.pick(U32 & String, U32.is_eq(code, 27), (22, "entry size differs from the central directory"), (code, "DEFLATE entry: " ++ msg))}
264    case Done{b}:
265      Done{b}

Uses (9)

Used by (1)