AFileReader class abstract
File reader class, be it buffered or random.
This class can't rewind.
- Implementers
Constructors
Properties
Methods
-
close(
) → void - Close the reader.
-
get(
int bytesCount) → Future< List< int> > -
Get
bytesCount
of bytes into a list. -
getBuffer(
int bytesCount) → Future< LByteBuffer> -
Get
bytesCount
of bytes into aLByteBuffer
. -
getByte(
) → Future< int> - Get a single byte.
-
getDouble32(
[Endian endian = Endian.big]) → Future< double> -
Get a 4 bytes float with a chosen
endian
ness. -
getDouble64(
[Endian endian = Endian.big]) → Future< double> -
Get a 8 bytes double with a chosen
endian
ness. -
getInt32(
[Endian endian = Endian.big]) → Future< int> -
Get a 4 bytes integer with a chosen
endian
ness. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readIntoBuffer(
LByteBuffer buffer) → Future< int> -
Read the amount of remaining bytes of the
buffer
from the reader. returns the real count read. -
skip(
int bytesToSkip) → Future -
Skip
bytesToSkip
bytes. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited