io::ByteArrayInputStream Class Reference
A
ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream. An internal counter keeps track of the next byte to be supplied by the read method.
More...
#include <ByteArrayInputStream.h>
List of all members.
Detailed Description
A
ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream. An internal counter keeps track of the next byte to be supplied by the read method.
Constructor & Destructor Documentation
io::ByteArrayInputStream::ByteArrayInputStream |
( |
const void * |
pData, |
|
|
int32 |
size | |
|
) |
| | |
virtual io::ByteArrayInputStream::~ByteArrayInputStream |
( |
|
) |
[virtual] |
Member Function Documentation
void io::ByteArrayInputStream::reset |
( |
const void * |
pData, |
|
|
int32 |
size | |
|
) |
| | |
Resets with new input buffer. Note that the contents of the buffer is duplicated so the buffer can be freed immediately after ByteArrayInputStream constructor returns.
int32 io::ByteArrayInputStream::read |
( |
|
) |
[virtual] |
int32 io::ByteArrayInputStream::read |
( |
char * |
pDataOut, |
|
|
int32 |
size | |
|
) |
| | [virtual] |
- See also:
- InputStream::read(void* pDataOut, int32 size)
Implements io::InputStream.
int32 io::ByteArrayInputStream::skip |
( |
int32 |
n |
) |
[virtual] |
int32 io::ByteArrayInputStream::available |
( |
|
) |
const [virtual] |
const char* io::ByteArrayInputStream::toString |
( |
|
) |
[virtual] |
The documentation for this class was generated from the following file:
- D:/aika/aika-v02/include/io/ByteArrayInputStream.h