#include <CharToByteReader.h>
Inheritance diagram for acdk::io::CharToByteReader:
Public Member Functions | |
CharToByteReader (IN(RCharReader) cin, IN(acdk::locale::REncoder) encoder=Nil, IN(acdk::lang::Object) iolock=Nil) | |
virtual int | available () |
returns the number of bytes available in this stream before blocking Some Reader always return 0 | |
virtual void | reset () |
if mark is set, set stream to mark point otherwise to begin of this stream. | |
virtual jlong | seek (SeekPos seekrel, jlong seekpos) |
Set stream position in this Reader to given position. | |
virtual jlong | skip (jlong n) |
Move forwart into the stream. | |
virtual int | read () |
read a single byte from stream | |
int | read (IN(RbyteArray) buffer, int offset=0, int len=-1) |
read the len bytes into buffer at offset of the buffer | |
int | read (byte *buffer, int offset, int len) |
Public Attributes | |
RCharReader | _cin |
acdk::locale::REncoder | _encoder |
LittleBytesWriter | _buf |
int | _maxChars |
|
|
|
returns the number of bytes available in this stream before blocking Some Reader always return 0
Reimplemented from acdk::io::Reader. |
|
Reimplemented from acdk::io::AbstractReader. |
|
read the len bytes into buffer at offset of the buffer
Reimplemented from acdk::io::AbstractReader. |
|
read a single byte from stream
Reimplemented from acdk::io::AbstractReader. |
|
if mark is set, set stream to mark point otherwise to begin of this stream.
Implements acdk::io::AbstractReader. |
|
Set stream position in this Reader to given position.
Reimplemented from acdk::io::AbstractReader. |
|
Move forwart into the stream.
Reimplemented from acdk::io::AbstractReader. |
|
|
|
|
|
|
|
|