def read_blob.word

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

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

156def read_blob.word(r: B.Cursor & Word64) -> Result<&2, &1, Error, B.Cursor & B.Bytes>:
157  (c, Word64{h, +l}) = r
158  read_blob.length(U32.is_zero(h) && U32.is_le(l, 2147483647), c, l)

Uses (11)

Used by (1)