Procs
proc writeField(stream: OutputStream; field: int; value: PBOption; ProtoType: type; skipDefault: static bool = false) {. ...raises: [IOError], raises: [], gcsafe.}
- Source Edit
proc writeField[T: not byte](stream: OutputStream; field: int; value: openArray[T]; ProtoType: type SomeProto; skipDefault: static bool = false) {. ...raises: [IOError], raises: [], gcsafe.}
- Source Edit
proc writeField[T: not object and (seq[byte] or not seq)](stream: OutputStream; field: int; value: T; ProtoType: type SomeScalar; skipDefault: static bool = false) {....raises: [IOError], raises: [], gcsafe.}
- Source Edit
proc writeField[T: not seq and not PBOption](stream: OutputStream; field: int; value: T; ProtoType: type ProtobufExt; _: static bool = false) {. ...raises: [IOError], raises: [], gcsafe.}
- Source Edit
proc writeField[T: object and not PBOption](stream: OutputStream; field: int; value: T; ProtoType: type pbytes; skipDefault: static bool = false) {. ...raises: [IOError], raises: [], gcsafe.}
- Source Edit
proc writeField[T](stream: OutputStream; field: int; value: seq[T]; ProtoType: type ProtobufExt; skipDefault: static bool = false) {. ...raises: [IOError], deprecated: "use extensionDefaults", raises: [], gcsafe.}
- Source Edit
proc writeFieldPacked[T: not byte](output: OutputStream; field: int; values: openArray[T]; ProtoType: type SomePrimitive) {. ...raises: [IOError], raises: [], gcsafe.}
- Source Edit
proc writeFieldPacked[T: not byte](output: OutputStream; field: int; values: openArray[T]; ProtoType: type ProtobufExt) {. ...raises: [IOError], raises: [], gcsafe.}
- Source Edit
proc writeValue[T: object](writer: ProtobufWriter; value: T) {. ...raises: [IOError], raises: [], gcsafe.}
- Source Edit
Templates
template writeFieldPackedIt[T: not byte](output: OutputStream; field: int; values: openArray[T]; ProtoType: type SomePrimitive; item: untyped): untyped {..}
- Source Edit
Exports
-
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, 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