ETFBuffer

Undocumented in source.
struct ETFBuffer {}

Members

Aliases

EncodableSimpleTypes
alias EncodableSimpleTypes = AliasSeq!(Atom, bool, byte, ubyte, ubyte[], string, wstring, dstring, BigInt, short, ushort, int, uint, long, ulong, float, double, real, Variant[], Variant[Variant], Variant[string], KeyValuePair!(Variant, Variant)[], typeof(null), string[], int[], ulong[], SysTime, Nullable!SysTime)
Undocumented in source.

Functions

bytes
inout(ubyte[]) bytes()
Undocumented in source. Be warned that the author may not have intended to support it.
decode
T decode(string debugInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
encode
void encode(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
peek
inout(ubyte[]) peek(size_t n, size_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
putAtom
void putAtom(Atom atom)
Undocumented in source. Be warned that the author may not have intended to support it.
putBigInt
void putBigInt(BigInt v)
Undocumented in source. Be warned that the author may not have intended to support it.
putBinary
void putBinary(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
putBool
void putBool(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
putByte
void putByte(ubyte v)
Undocumented in source. Be warned that the author may not have intended to support it.
putDouble
void putDouble(double d)
Undocumented in source. Be warned that the author may not have intended to support it.
putEmptyList
void putEmptyList()
Undocumented in source. Be warned that the author may not have intended to support it.
putInt
void putInt(int v)
Undocumented in source. Be warned that the author may not have intended to support it.
putLong
void putLong(long v)
Undocumented in source. Be warned that the author may not have intended to support it.
putNull
void putNull()
Undocumented in source. Be warned that the author may not have intended to support it.
putString
void putString(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
putULong
void putULong(ulong v)
Undocumented in source. Be warned that the author may not have intended to support it.
putUnsafe
void putUnsafe(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
putVersion
void putVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
read
ubyte[] read(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
readAtom
Atom readAtom()
Undocumented in source. Be warned that the author may not have intended to support it.
readBigInt
BigInt readBigInt()
Undocumented in source. Be warned that the author may not have intended to support it.
readBinary
ubyte[] readBinary()
Undocumented in source. Be warned that the author may not have intended to support it.
readBinaryUnsafe
ubyte[] readBinaryUnsafe()
Undocumented in source. Be warned that the author may not have intended to support it.
readBool
bool readBool()
Undocumented in source. Be warned that the author may not have intended to support it.
readByte
ubyte readByte()
Undocumented in source. Be warned that the author may not have intended to support it.
readDouble
double readDouble()
Undocumented in source. Be warned that the author may not have intended to support it.
readEmptyList
auto readEmptyList()
Undocumented in source. Be warned that the author may not have intended to support it.
readInt
int readInt()
Undocumented in source. Be warned that the author may not have intended to support it.
readListLength
size_t readListLength(bool needsNil)
Undocumented in source. Be warned that the author may not have intended to support it.
readLong
long readLong()
Undocumented in source. Be warned that the author may not have intended to support it.
readMapLength
size_t readMapLength()
Undocumented in source. Be warned that the author may not have intended to support it.
readNull
auto readNull()
Undocumented in source. Be warned that the author may not have intended to support it.
readString
ubyte[] readString()
Undocumented in source. Be warned that the author may not have intended to support it.
readTupleLength
size_t readTupleLength()
Undocumented in source. Be warned that the author may not have intended to support it.
readULong
ulong readULong()
Undocumented in source. Be warned that the author may not have intended to support it.
readVersion
void readVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
startList
void startList(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
startMap
void startMap(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
startTuple
void startTuple(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
unsafeReserveBuffer
void unsafeReserveBuffer(size_t extra)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

deserialize
T deserialize(ubyte[] buffer, bool start)
Undocumented in source. Be warned that the author may not have intended to support it.
deserialzeTree
ETFNode deserialzeTree(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
serialize
ETFBuffer serialize(T value, size_t buffer, bool allowResize)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

allowResize
bool allowResize;
Undocumented in source.
buffer
ubyte[] buffer;
Undocumented in source.
full
ubyte[] full;
Undocumented in source.
index
size_t index;
Undocumented in source.

Meta