DataProvider class abstract
- Implementers
Constructors
- DataProvider(File file)
-
Create a new DataProvider based on a
file
.factory - DataProvider.create()
- Create a new DataProvider. Used for sub classes.
- DataProvider.memory(Uint8List data)
-
Create a new DataProvider based on
data
that is in memory.factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readByte(
int position) → Future< int> -
Read the first byte at this
position
. -
readBytes(
int start, int end) → Future< Uint8List> -
Read the bytes from
start
toend
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
int position) → Future< int> -
Read the first byte at this
position
.