ReadbufferMemory class
Methods
dispose ()
→ void
closes the underlying file
override
freeRessources ()
→ void
frees the underlying files. This is meant to be used when sending to an isolate
override
getPosition ()
→ int
Returns the current position in the readbuffer source
override
length ()
→ Future <int >
returns the length of the file. If needed this method may be removed but the length check must be done in the individual read-methods then.
override
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFromFile (int length )
→ Future <Readbuffer >
Reads the given amount of bytes from the file into the read buffer and resets the internal buffer position. If
the capacity of the read buffer is too small, a larger one is created automatically.
override
readFromFileAt (int indexBlockPosition , int indexBlockSize )
→ Future <Readbuffer >
override
setPosition (int position )
→ Future <void >
override
toString ()
→ String
A string representation of this object.
inherited