protobuf_serialization

Source   Edit  

Procs

func computeSize[T: object](_: type Protobuf; value: T): int
Return the encoded size of the given value Source   Edit  
func supports[T](_: type Protobuf; ty: typedesc[T]): bool
Source   Edit  

Templates

template PreferredOutputType(T`gensym2: type Protobuf): type
Source   Edit  
template Reader(T`gensym0: type Protobuf): type
Source   Edit  
template ReaderType(T`gensym0: type Protobuf): type
Source   Edit  
template Writer(T`gensym2: type Protobuf): type
Source   Edit  
template WriterType(T`gensym2: type Protobuf): type
Source   Edit  

Exports

ProtobufMessageError, pint, ProtobufError, fieldNumber, sint, pbSome, required, ProtobufExt, implicit, ProtobufReader, ProtobufWriter, ext, pbNone, init, oneof, PBExplicit, ProtobufValueError, init, get, isSome, proto3, PBOption, valueOr, ProtobufGroupError, finish, isNone, mget, ProtobufEOFError, ProtobufFlags, pbSome, packed, fixed, toValue, proto2, ProtobufReadError, proto, init, ext, wireKind, writeValue, ProtobufReader, writeField, fixed32, toValue, fixed64, ProtobufReadError, wireKind, WireKind, pbSome, implicit, ProtobufError, SomeVarint, penum, computeSize, puint32, readFieldInto, finish, skipValue, mget, init, readFieldPackedIntoIt, pbSome, fixed, pbNone, proto2, pdouble, pstring, skipValue, proto, SomePrimitive, ProtobufMessageError, PBExplicit, get, readFieldPackedInto, readValue, toBytes, writeValue, wireKind, ProtobufEOFError, oneof, number, init, readValue, proto3, toBytes, SupportedWireKinds, ProtobufWriter, valueOr, PBOption, init, readFieldPackedIntoIt, readHeader, ProtobufFlags, SomeFixed64, packed, toBytes, kind, pint, readFieldInto, writeValue, pint64, readFieldInto, SomeLengthDelim, readLength, readValue, readFieldInto, ProtobufExt, toBytes, wireKind, writeValue, ProtobufValueError, sfixed32, pint32, toBytes, ProtobufGroupError, init, readFieldInto, FieldHeader, isSome, SomePBInt, puint64, SomeProto, sint32, SomeScalar, sint64, computeSize, SomeFixed32, required, computeSize, pbytes, sfixed64, sint, toBytes, writeValue, readFieldInto, readValue, writeValue, readFieldPackedInto, pbool, isNone, pfloat, fieldNumber, computeSize, toBytes, computeSize, validFieldNumber, skipValue, computeSizePacked, computeFieldSizePacked, computeFieldSizePackedIt, computeSizePackedIt, computeObjectSize, computeFieldSizePacked, computeFieldSize, computeFieldSize, computeFieldSize, computeFieldSize, computeFieldSize, computeFieldSize, wireKind, writeValue, writeFieldPacked, ProtobufReader, writeField, fixed32, toValue, fixed64, ext, wireKind, WireKind, writeField, writeFieldPacked, pbSome, implicit, ProtobufError, SomeVarint, writeField, penum, computeSize, puint32, finish, skipValue, mget, init, pbSome, fixed, pbNone, proto2, pdouble, pstring, ProtobufReadError, skipValue, proto, SomePrimitive, ProtobufMessageError, PBExplicit, get, readValue, writeValue, wireKind, writeField, ProtobufEOFError, oneof, sint, writeField, number, init, readValue, proto3, toBytes, SupportedWireKinds, writeFieldPackedIt, isNone, valueOr, PBOption, init, readHeader, ProtobufFlags, SomeFixed64, packed, toBytes, kind, pint, toBytes, writeValue, pint64, SomeLengthDelim, readLength, readValue, writeValue, ProtobufExt, toBytes, wireKind, writeField, ProtobufValueError, writeValue, sfixed32, pint32, isSome, toBytes, writeField, ProtobufGroupError, init, FieldHeader, SomePBInt, puint64, SomeProto, sint32, SomeScalar, sint64, computeSize, ProtobufWriter, SomeFixed32, required, computeSize, pbytes, sfixed64, toBytes, writeValue, writeValue, pbool, pfloat, fieldNumber, computeSize, toBytes, computeSize, validFieldNumber, skipValue, Protobuf, versionInt, mimeType, wireKind, Protobuf, writeValue, ProtobufReader, writeField, fixed32, fixed64, ProtobufReadError, wireKind, wireKind, pbSome, oneof, implicit, ProtobufError, SomeVarint, pbNone, penum, mimeType, computeSize, ProtobufWriter, puint32, sint, finish, skipValue, mget, init, pbSome, fixed, proto2, pdouble, pstring, skipValue, proto, SomePrimitive, ProtobufMessageError, PBExplicit, readValue, toBytes, readValue, init, WireKind, number, toBytes, SupportedWireKinds, valueOr, PBOption, pfloat, readHeader, ProtobufFlags, init, SomeFixed64, packed, toBytes, writeValue, pint, get, pint64, SomeLengthDelim, readLength, extensionDefaults, writeValue, ProtobufExt, toBytes, wireKind, writeValue, ProtobufValueError, sfixed32, isSome, toBytes, writeValue, versionInt, proto3, ProtobufGroupError, extensionDefaults, FieldHeader, SomePBInt, puint64, SomeProto, sint32, ProtobufEOFError, SomeScalar, sint64, computeSize, SomeFixed32, ext, required, computeSize, toValue, pbytes, readValue, pint32, sfixed64, toBytes, kind, writeValue, pbool, isNone, init, fieldNumber, computeSize, toBytes, computeSize, validFieldNumber, skipValue