def read.message

bendonnect-rpc@0.1.0.0 · src/pb.bend:508

import bendonnect-rpc@0.1.0.0/src/pb.bend as Pb
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
import bend-kit-protobuf@0.1.0.0/protobuf.bend as Pb

508# A nested message's fields; decode them with the generated per-field fold.
509def read.message(v: Pb.Value) -> Result<&2, &1, String, List<&1, Pb.Field>>:
510  do Result<&2, &1, String, List<&1, Pb.Field>>:
511    b : Bytes.Bytes <- read.blob(v)
512    decode(b)

Uses (9)

Used by (0)

No other definition uses this definition.