IReceiveStream

Undocumented in source.

Members

Functions

readBson
document readBson()
Undocumented in source. Be warned that the author may not have intended to support it.
readBsonValue
bson_value readBsonValue(int remaining)
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.
readBytes
immutable(ubyte)[] readBytes(size_t length)

Reads exactly the amount of bytes specified and returns a newly allocated buffer containing the data.

readCharsWithLengthPrefix
string readCharsWithLengthPrefix()
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.
readExact
void readExact(ubyte[] buffer)

Reads exactly the expected length into the given buffer argument.

readInt
int readInt()
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.
readReply
OP_REPLY readReply()
Undocumented in source. Be warned that the author may not have intended to support it.
readSmall
ubyte[n] readSmall()

Reads a small number of bytes into a stack allocated array. Convenience function calling readExact.

readUntilNull
immutable(ubyte)[] readUntilNull()

Reads until a 0 byte and returns all data before it as newly allocated buffer containing the data.

readZeroTerminatedChars
string readZeroTerminatedChars()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta