|
|
| NetworkReader (byte *_buffer) |
| |
|
| NetworkReader (const ArraySegment< byte > &segment) |
| |
|
| NetworkReader (const std::shared_ptr< ArraySegment< byte >> &segment) |
| |
|
void | reset () |
| | Reset the position to 0.
|
| |
| template<typename T > |
| T | read () |
| | Read a value from the buffer. More...
|
| |
| byte * | readBytes (int count) |
| | Read a byte array from the buffer. More...
|
| |
| std::string | readString () |
| | Read a string from the buffer. More...
|
| |
◆ read()
template<typename T >
| T KapMirror::NetworkReader::read |
( |
| ) |
|
|
inline |
Read a value from the buffer.
- Template Parameters
-
- Returns
- Value
◆ readBytes()
| byte* KapMirror::NetworkReader::readBytes |
( |
int |
count | ) |
|
|
inline |
Read a byte array from the buffer.
- Returns
- Value
◆ readString()
| std::string KapMirror::NetworkReader::readString |
( |
| ) |
|
|
inline |
Read a string from the buffer.
- Returns
- Value
The documentation for this class was generated from the following file: