FileBuffer class
Constructors
- FileBuffer(AbstractFileHandle _file, {int byteOrder = LITTLE_ENDIAN, int bufferSize = kDefaultBufferSize})
Properties
Methods
-
close(
) → Future< void> -
closeSync(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readBytes(
int position, int count, int fileSize) → Uint8List -
readUint16(
int position, int fileSize) → int -
readUint24(
int position, int fileSize) → int -
readUint32(
int position, int fileSize) → int -
readUint64(
int position, int fileSize) → int -
readUint8(
int position, int fileSize) → int -
reset(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kDefaultBufferSize → const int
- kMinBufferSize → const int
- The buffer size should be at least 8 bytes, so reading a 64-bit value doesn't have to deal with buffer overflow.