|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::io::ByteBufferWriter Class Reference#include <ByteBufferWriter.h>
Inheritance diagram for acdk::io::ByteBufferWriter:
List of all members.
Detailed Description
Reader interface for a ReadByteBuffer.
Constructor & Destructor Documentation
acdk::io::ByteBufferWriter::ByteBufferWriter |
( |
IN(RWriteByteBuffer) |
buffer |
) |
[inline] |
|
Member Function Documentation
virtual void acdk::io::ByteBufferWriter::close |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::io::ByteBufferWriter::flush |
( |
|
) |
[inline, virtual] |
|
virtual RStorage acdk::io::ByteBufferWriter::getWriterStorage |
( |
|
) |
[inline, virtual] |
|
virtual void acdk::io::ByteBufferWriter::write |
( |
IN(RbyteArray) |
ch, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[virtual] |
|
|
default implementation: return write(ch->data(), offset, len == -1 ? ch->length() - offset : len);
Reimplemented from acdk::io::AbstractWriter. |
virtual void acdk::io::ByteBufferWriter::write |
( |
byte |
c |
) |
[virtual] |
|
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Implements acdk::io::AbstractWriter. |
virtual void acdk::io::ByteBufferWriter::write |
( |
const byte * |
cstr, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[virtual] |
|
Member Data Documentation
|
|