def to_uint64

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

import bend-kit-protobuf@0.2.0.0/protobuf.bend as Protobuf
import 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{}}

Uses (4)

Used by (4)