protobuf_serialization/pkg/results

Source   Edit  

Procs

func computeFieldSize(field: int; value: Opt; ProtoType: type ProtobufExt;
                      skipDefault: static bool): int {....raises: [], gcsafe.}
Source   Edit  
func isExtension(T: type Protobuf; FieldType: type Opt): bool {....raises: [],
    gcsafe.}
Source   Edit  
proc readFieldInto(stream: InputStream; value: var Opt; header: FieldHeader;
                   ProtoType: type ProtobufExt): bool {.
    ...raises: [SerializationError, IOError], raises: [], gcsafe.}
Source   Edit  
func supportsPacked(_: type Opt; ProtoType: type ProtobufExt): bool {.
    ...raises: [], gcsafe.}
Source   Edit  
proc writeField(stream: OutputStream; field: int; value: Opt;
                ProtoType: type ProtobufExt; skipDefault: static bool = false) {.
    ...raises: [IOError], raises: [], gcsafe.}
Source   Edit  

Templates

template flatType[U](T: type Protobuf; value: Opt[U]): type {..}
Source   Edit