dproto v1.1.1 (2014-11-02T22:46:59Z)
Home
Dub
Repo
writeProto
dproto
serialize
Encode a value into a series of bytes
ubyte
[]
writeProto
(BuffType!T src)
ubyte
[]
writeProto
(BuffType!T src)
ubyte
[]
writeProto
(BuffType!T src)
ubyte
[]
writeProto
(BuffType!T src)
ubyte
[]
writeProto
(
string
T
)
(
BuffType
!
T
src
)
if
(
T
== "string" ||
T
== "bytes"
)
Parameters
src
BuffType
!
T
The raw data
Return Value
Type:
ubyte
[]
The encoded value
Meta
Source
See Implementation
dproto
serialize
functions
IsBuiltinType
defaultDecode
fromVarint
fromZigZag
msgNum
readProto
readVarint
toVarint
toZigZag
wireType
writeProto
manifest constants
ENUM_SERIALIZATION
PACKED_MSG_TYPE
templates
BuffType
MsgType
Encode a value into a series of bytes