writeProto

Encode a value into a series of bytes

  1. ubyte[] writeProto(BuffType!T src)
  2. ubyte[] writeProto(BuffType!T src)
  3. ubyte[] writeProto(BuffType!T src)
  4. ubyte[] writeProto(BuffType!T src)
    ubyte[]
    writeProto
    (
    string T
    )
    if (
    T == "string" ||
    T == "bytes"
    )

Parameters

src BuffType!T

The raw data

Return Value

Type: ubyte[]

The encoded value

Meta