|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::io::BinaryObjectReader Class Reference#include <BinaryObjectReader.h>
Inheritance diagram for acdk::io::BinaryObjectReader:
List of all members.
Detailed Description
Implementation to read Objects and basic type in binary format.
API: ACDK<br/> - Author:
- Roger Rene Kommer (mailto:kommer@artefaktur.com)
- Version:
- Revision
- 1.17
- Date:
- Date
- 2005/04/09 19:26:44
Constructor & Destructor Documentation
acdk::io::BinaryObjectReader::BinaryObjectReader |
( |
RReader |
in, |
|
|
int |
flags = SerializeDefaultFlags |
|
) |
[inline] |
|
Member Function Documentation
virtual int acdk::io::BinaryObjectReader::read |
( |
byte * |
buffer, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[inline, virtual] |
|
int acdk::io::BinaryObjectReader::read |
( |
IN(RbyteArray) |
array, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[inline, virtual] |
|
|
read the len bytes into buffer at offset of the buffer
- Parameters:
-
buffer | where to write the bytes |
offset | offset to write into buffer |
len | how many bytes to read. if == -1 read into many bytes, that fits into buffer (buffer->length() - offset) `` |
- Returns:
- number of bytes readed. may less than input if EOS is reached
- Exceptions:
-
EOF | exception, if trying to read behind EOS |
Reimplemented from acdk::io::AbstractFilterReader. |
int acdk::io::BinaryObjectReader::read |
( |
|
) |
[inline, virtual] |
|
|
read a single byte from stream
- Returns:
- the byte readed or -1 if EOS.
- Exceptions:
-
EOF | exception, if trying to read behind EOS |
Reimplemented from acdk::io::AbstractFilterReader. |
virtual bool acdk::io::BinaryObjectReader::readBoolean |
( |
|
) |
[inline, virtual] |
|
virtual char acdk::io::BinaryObjectReader::readChar |
( |
|
) |
[inline, virtual] |
|
virtual RClass acdk::io::BinaryObjectReader::readClassId |
( |
|
) |
[virtual] |
|
virtual double acdk::io::BinaryObjectReader::readDouble |
( |
|
) |
[inline, virtual] |
|
virtual float acdk::io::BinaryObjectReader::readFloat |
( |
|
) |
[inline, virtual] |
|
virtual int acdk::io::BinaryObjectReader::readInt |
( |
|
) |
[inline, virtual] |
|
virtual jlong acdk::io::BinaryObjectReader::readLong |
( |
|
) |
[inline, virtual] |
|
virtual short acdk::io::BinaryObjectReader::readShort |
( |
|
) |
[inline, virtual] |
|
RString acdk::io::BinaryObjectReader::readStringImpl |
( |
|
) |
[inline, virtual] |
|
virtual RString acdk::io::BinaryObjectReader::readTagEnd |
( |
IN(RString) |
key, |
|
|
IN(RString) |
value = Nil |
|
) |
[virtual] |
|
|
Writes end of Tag.
For example '' for a int type. This function will be called by writeObject if the object should be written with tags
Implements acdk::io::AbstractObjectReader. |
virtual RString acdk::io::BinaryObjectReader::readTagStart |
( |
IN(RString) |
key, |
|
|
IN(RString) |
value = Nil |
|
) |
[virtual] |
|
virtual uc2char acdk::io::BinaryObjectReader::readUcChar |
( |
|
) |
[inline, virtual] |
|
Member Data Documentation
|
|