- back
T back(T[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
- empty
bool empty(T[] v)
Undocumented in source. Be warned that the author may not have intended to support it.
- fromByteBlob
T fromByteBlob(ubyte[] input)
Fixed sized numeric types.
- fromByteString
T[] fromByteString(ubyte[] input)
- fromPacked
T[] fromPacked(ubyte[] input)
- fromSInt
T fromSInt(ubyte[] input)
Undocumented in source. Be warned that the author may not have intended to support it.
- fromVarint
T fromVarint(ubyte[] input)
Decodes a varint to the requested type.
- genHeader
ubyte[] genHeader(int field, WireType wiretype)
- getFieldNumber
int getFieldNumber(int header)
Provide the specified field number from the header.
- getWireType
WireType getWireType(int header)
Provide the specified wiretype from the header.
- popBack
void popBack(T[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
- ripUField
ubyte[] ripUField(ubyte[] input, int wiretype)
Remove unknown field from input.
- skipOver
bool skipOver(string str, string c)
Undocumented in source. Be warned that the author may not have intended to support it.
- to
int to(string v)
Undocumented in source. Be warned that the author may not have intended to support it.
- to
string to(int v)
Undocumented in source. Be warned that the author may not have intended to support it.
- to
string to(ulong v, S redix)
Undocumented in source. Be warned that the author may not have intended to support it.
- toByteBlob
ubyte[] toByteBlob(T input, int field)
Fixed sized numeric types.
- toByteString
ubyte[] toByteString(T[] input, int field)
- toPacked
ubyte[] toPacked(T[] packed, int field)
- toSInt
ubyte[] toSInt(int input, int field)
Undocumented in source. Be warned that the author may not have intended to support it.
- toSInt
ubyte[] toSInt(long input, int field)
Undocumented in source. Be warned that the author may not have intended to support it.
- toVarint
ubyte[] toVarint(bool input, int field)
ubyte[] toVarint(uint input, int field)
ubyte[] toVarint(int input, int field)
ubyte[] toVarint(ulong input, int field)
ubyte[] toVarint(long input, int field)
Encode a type as a varint.
- toVarint
ubyte[] toVarint(long input)
Encode a varint without a header.
This module provides the functions needed to convert to/from the Protocol Buffer binary format.