writeProto

Encode a value into a series of bytes

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

Parameters

r
Type: R

output range

src
Type: BuffType!T

The raw data

Return Value

Type: void

The encoded value

Meta