writeProto

Encode a value into a series of bytes

  1. void writeProto(ref R r, BuffType!T src)
    void
    writeProto
    (
    string T
    R
    )
    (
    ref R r
    ,
    )
    if (
    isProtoOutputRange!R &&
    T.msgType == "int32".msgType
    )
  2. void writeProto(ref R r, BuffType!T src)
  3. void writeProto(ref R r, const BuffType!T src)

Parameters

r
Type: R

output range

src
Type: BuffType!T

The raw data

Return Value

Type: void

The encoded value

Meta