def blob.fit

bend-kit-redis@0.3.0.0 · redis.bend:471

import bend-kit-redis@0.3.0.0/redis.bend as Redis
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

471def blob.fit(ok: Bool, +kind: U32, +n: U32, +next: U32, stack: List<&1, Frame>, b: Bytes.Bytes) -> Bytes.Bytes & St:
472  match ok:
473    case True{}:
474      blob.crlf(kind, n, next, stack, crlf.at(b, (next + n : U32)))
475    case False{}:
476      (b, SMore{})

Uses (11)

Used by (1)