def read.blob

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

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

494# The raw payload of a length-delimited field.
495def read.blob(v: Pb.Value) -> Result<&2, &1, String, Bytes.Bytes>:
496  lift1(Bytes.Bytes, "protobuf: wire type mismatch for length-delimited field", Pb.to_bytes(v))

Uses (6)

Used by (2)