readIntoSync method Null safety
Synchronously reads into an existing
Reads bytes and writes then into the range of
start must be non-negative and no greater than
end is omitted, it defaults to
end must be no less than
and no greater than
Returns the number of bytes read. This maybe be less than
end - start
if the file doesn't have that many bytes to read.
Throws a FileSystemException if the operation fails.
int readIntoSync(List<int> buffer, [int start = 0, int? end]);