Templates
template extensionDefaults(Format: type Protobuf; ExtType: type; defaultWriteSeq = false; defaultReadSeq = false; defaultSeq = false; packed = false): untyped {. ...deprecated.}
- Source Edit
template extensionDefaults(Format: type Protobuf; ExtType: type; PbType: type SomeProto; defaultWriteSeq = false; defaultReadSeq = false; defaultSeq = false): untyped {..}
-
Generate default procedures for the extension.
- defaultSeq generates default seq[ExtType] writer and reader.
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, Protobuf, versionInt, mimeType, pint, WireKind, writeValue, init, toBytes, ProtobufReader, SomeVarint, fixed32, pint64, fixed64, SomeLengthDelim, readLength, sint32, wireKind, pbSome, oneof, readValue, ProtobufExt, implicit, ProtobufError, wireKind, writeValue, ProtobufValueError, ProtobufWriter, writeValue, writeValue, writeValue, penum, sfixed32, toBytes, ext, puint32, proto3, ProtobufGroupError, finish, isNone, skipValue, mget, pbSome, fixed, toBytes, FieldHeader, proto2, isSome, pdouble, sint, pstring, ProtobufReadError, skipValue, proto, SomePBInt, puint64, SomeProto, toBytes, wireKind, PBExplicit, SomePrimitive, computeSize, SomeFixed64, sint64, readValue, SomeFixed32, wireKind, required, pbNone, kind, toValue, ProtobufMessageError, pbytes, SomeScalar, computeSize, computeSize, sfixed64, readValue, number, pfloat, writeField, toBytes, init, pint32, SupportedWireKinds, writeValue, get, pbool, valueOr, init, PBOption, readHeader, fieldNumber, toBytes, ProtobufEOFError, ProtobufFlags, init, packed, computeSize, toBytes, computeSize, validFieldNumber, skipValue