offset_iterator_io library

Extensions

DecodeExtension on OffsetIterator<List<int>>
EncodeExtension on OffsetIterator<String>
WriteToFile on OffsetIterator<List<int>>

Functions

fileIterator(File file, {int blockSize = 64 * 1024, String name = 'fileIterator', bool cancelOnError = true}) → OffsetIterator<Uint8List>
Perform a streaming read operation on the given File. blockSize changes the amount of bytes to read into each chunk.