bool Write(int8)
Writes an 8 bit signed integer to the socket. Returns false if the write did not succeed.
int8
bool
bool Write(int16)
Writes a 16 bit signed integer to the socket. Returns false if the write did not succeed.
int16
bool
bool Write(int)
Writes a 32 bit signed integer to the socket. Returns false if the write did not succeed.
int
bool
bool Write(int64)
Writes a 64 bit signed integer to the socket. Returns false if the write did not succeed.
int64
bool
bool Write(uint8)
Writes an 8 bit unsigned integer to the socket. Returns false if the write did not succeed.
uint8
bool
bool Write(uint16)
Writes a 16 bit unsigned integer to the socket. Returns false if the write did not succeed.
uint16
bool
bool Write(uint)
Writes a 32 bit unsigned integer to the socket. Returns false if the write did not succeed.
uint
bool
bool Write(uint64)
Writes a 64 bit unsigned integer to the socket. Returns false if the write did not succeed.
uint64
bool
bool Write(float)
Writes a 32 bit float to the socket. Returns false if the write did not succeed.
float
bool
bool Write(double)
Writes a 64 bit double to the socket. Returns false if the write did not succeed.
double
bool
bool Write(const string&in)
Writes a 32 bit unsigned integer for the length of the string to the socket, followed by the actual string. Returns false if the write did not succeed. Note that this behavior differs from WriteRaw()
.
bool
bool Write(MemoryBuffer&in, uint64 size = 0)
Reads a number of bytes from the given MemoryBuffer and writes them to the socket.
uint64
size
The number of bytes to read from the MemoryBuffer. If this is 0, the remainder of the available bytes is used.
bool