def to_string

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

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

807def to_string(v: Value) -> Result<&2, &2, Error, String>:
808  match v:
809    case Blob{bytes}:
810      utf8.decode(bytes)
811    case _:
812      Fail{Malformed{}}

Uses (5)

Used by (1)