def to_uint64
import bend-kit-protobuf@0.2.0.0/protobuf.bend as Protobufimport Base
598def to_uint64(v: Value) -> Result<&2, &2, Error, Word64>:
599 match v:
600 case Varint{w}:
601 Done{w}
602 case _:
603 Fail{Malformed{}}
import bend-kit-protobuf@0.2.0.0/protobuf.bend as Protobufimport Base
598def to_uint64(v: Value) -> Result<&2, &2, Error, Word64>:
599 match v:
600 case Varint{w}:
601 Done{w}
602 case _:
603 Fail{Malformed{}}