def decode.step.valid

bend-kit-protobuf@0.2.0.0 · protobuf.bend:243

import bend-kit-protobuf@0.2.0.0/protobuf.bend as Protobuf
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as B

243def decode.step.valid(ok: Bool, kind: U32, c: B.Cursor, depth: Nat, stack: List<&1, Frame>, acc: List<&1, Field>, number: U32) -> Result<&2, &1, Error, DecodeState>:
244  match ok:
245    case False{}:
246      Fail{Malformed{}}
247    case True{}:
248      decode.step.kind(kind, c, depth, stack, acc, number)

Uses (11)

Used by (1)