|
Apache Log4cxx
Version 1.7.0
|
InputStream implemented on top of a byte array. More...
#include <bytearrayinputstream.h>
Public Member Functions | |
| ByteArrayInputStream (const ByteList &bytes) | |
| Creates a ByteArrayInputStream. | |
| virtual | ~ByteArrayInputStream () |
| void | close () override |
| Closes this file input stream and releases any system resources associated with the stream. | |
| int | read (ByteBuffer &buf) override |
| Reads a sequence of bytes into the given buffer. | |
| Public Member Functions inherited from log4cxx::helpers::Object | |
| virtual | ~Object () |
| virtual const helpers::Class & | getClass () const =0 |
| virtual bool | instanceof (const Class &clazz) const =0 |
| virtual const void * | cast (const Class &clazz) const =0 |
Additional Inherited Members | |
| Protected Member Functions inherited from log4cxx::helpers::InputStream | |
| InputStream () | |
| virtual | ~InputStream () |
InputStream implemented on top of a byte array.
| log4cxx::helpers::ByteArrayInputStream::ByteArrayInputStream | ( | const ByteList & | bytes | ) |
Creates a ByteArrayInputStream.
| bytes | array of bytes to copy into stream. |
|
virtual |
|
overridevirtual |
Closes this file input stream and releases any system resources associated with the stream.
Implements log4cxx::helpers::InputStream.
|
overridevirtual |
Reads a sequence of bytes into the given buffer.
| buf | The buffer into which bytes are to be transferred. |
Implements log4cxx::helpers::InputStream.