Protobuf.packed_encode.go: def of bend-kit-protobuf@0.2.0.0 Import: import bend-kit-protobuf@0.2.0.0/protobuf.bend as Protobuf Lines 526-547 of bend-kit-protobuf@0.2.0.0/protobuf.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-protobuf@0.2.0.0/protobuf.bend&start_line=526&end_line=547 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as B def packed_encode.go(values: List<&1, Value>, out: B.Bytes, +max_size: U32) -> Result<&2, &1, Error, B.Bytes>: match values: case Nil{}: Done{out} case Con{v, tail}: match v: case Varint{w}: do Result<&2, &1, Error, B.Bytes>: next : B.Bytes <- write_value(Varint{w}, out, max_size) packed_encode.go(tail, next, max_size) case Fixed32{w}: do Result<&2, &1, Error, B.Bytes>: next : B.Bytes <- write_value(Fixed32{w}, out, max_size) packed_encode.go(tail, next, max_size) case Fixed64{w}: do Result<&2, &1, Error, B.Bytes>: next : B.Bytes <- write_value(Fixed64{w}, out, max_size) packed_encode.go(tail, next, max_size) case Blob{b}: Fail{Malformed{}} case Group{fields}: Fail{Malformed{}} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-protobuf@0.2.0.0/protobuf.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bend-kit-protobuf@0.2.0.0/protobuf.bend&name=Value https://jend.leeeet.dev/definition.txt?path=bend-kit-protobuf@0.2.0.0/protobuf.bend&name=write_value