_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
◆ BNCSInputStream()
BNCSInputStream::BNCSInputStream |
( |
CTCPSocket * |
socket | ) |
|
|
inline |
◆ ~BNCSInputStream()
BNCSInputStream::~BNCSInputStream |
( |
| ) |
|
|
inline |
◆ debugDump()
void BNCSInputStream::debugDump |
( |
| ) |
|
|
inline |
◆ finishMessage()
void BNCSInputStream::finishMessage |
( |
| ) |
|
|
inline |
◆ read16()
uint16_t BNCSInputStream::read16 |
( |
| ) |
|
|
inline |
◆ read32()
uint32_t BNCSInputStream::read32 |
( |
| ) |
|
|
inline |
◆ read64()
uint64_t BNCSInputStream::read64 |
( |
| ) |
|
|
inline |
◆ read8()
uint8_t BNCSInputStream::read8 |
( |
| ) |
|
|
inline |
◆ readAll()
int BNCSInputStream::readAll |
( |
char ** |
out | ) |
|
|
inline |
For debugging and development: read the entire thing as a char array. Caller must "delete[]" the out-char
◆ readBool32()
bool BNCSInputStream::readBool32 |
( |
| ) |
|
|
inline |
◆ readBool8()
bool BNCSInputStream::readBool8 |
( |
| ) |
|
|
inline |
◆ readFiletime()
uint64_t BNCSInputStream::readFiletime |
( |
| ) |
|
|
inline |
◆ readMessageId()
uint8_t BNCSInputStream::readMessageId |
( |
| ) |
|
|
inline |
To be called at the start of a message, gets the entire data into memory or returns -1.
◆ readString()
std::string BNCSInputStream::readString |
( |
| ) |
|
|
inline |
◆ readStringlist() [1/2]
std::vector<std::string> BNCSInputStream::readStringlist |
( |
| ) |
|
|
inline |
◆ readStringlist() [2/2]
std::vector<std::string> BNCSInputStream::readStringlist |
( |
int |
cnt | ) |
|
|
inline |
◆ string32()
std::string BNCSInputStream::string32 |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The