Procs
proc readFieldInto(stream: InputStream; value: var PBOption; header: FieldHeader; ProtoType: type): bool {. ...raises: [SerializationError, IOError], raises: [], gcsafe.}
- Source Edit
proc readFieldInto[T: not byte](stream: InputStream; value: var seq[T]; header: FieldHeader; ProtoType: type SomeProto): bool {. ...raises: [SerializationError, IOError], raises: [], gcsafe.}
- Source Edit
proc readFieldInto[T: not object and (seq[byte] or not seq)]( stream: InputStream; value: var T; header: FieldHeader; ProtoType: type SomeProto): bool {....raises: [SerializationError, IOError], raises: [], gcsafe.}
- Source Edit
proc readFieldInto[T: not PBOption](stream: InputStream; value: var seq[T]; header: FieldHeader; ProtoType: type ProtobufExt): bool {. ...raises: [SerializationError, IOError], deprecated: "use extensionDefaults", raises: [], gcsafe.}
- Source Edit
proc readFieldInto[T: not seq and not PBOption](stream: InputStream; value: var T; header: FieldHeader; ProtoType: type ProtobufExt): bool {. ...raises: [SerializationError, IOError], raises: [], gcsafe.}
- Source Edit
proc readFieldInto[T: object and not PBOption](stream: InputStream; value: var T; header: FieldHeader; ProtoType: type pbytes): bool {. ...raises: [SerializationError, IOError], raises: [], gcsafe.}
- Source Edit
proc readFieldPackedInto[T: not byte](stream: InputStream; value: var seq[T]; header: FieldHeader; ProtoType: type SomePrimitive): bool {. ...raises: [SerializationError, IOError], raises: [], gcsafe.}
- Source Edit
proc readFieldPackedInto[T](stream: InputStream; value: var T; header: FieldHeader; ProtoType: type ProtobufExt): bool {. ...raises: [SerializationError, IOError], raises: [], gcsafe.}
- Source Edit
proc readValue[T: object](reader: ProtobufReader; value: var T) {. ...raises: [SerializationError, IOError], raises: [], gcsafe.}
- Source Edit
Templates
template readFieldPackedIntoIt(stream: InputStream; header: FieldHeader; ProtoType: type SomePrimitive; body: untyped): bool {..}
- Source Edit
template readFieldPackedIntoIt[T: not byte](stream: InputStream; value: var seq[T]; header: FieldHeader; ProtoType: type SomePrimitive; body: untyped): bool {....deprecated: "use readFieldPackedIntoIt without the value param".}
- 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