BytesFileIO.fromFile constructor
Implementation
factory BytesFileIO.fromFile(File file, {int? length, bool append = true}) {
var io = file.openSync(mode: append ? FileMode.append : FileMode.write);
return BytesFileIO(io, length: length);
}
factory BytesFileIO.fromFile(File file, {int? length, bool append = true}) {
var io = file.openSync(mode: append ? FileMode.append : FileMode.write);
return BytesFileIO(io, length: length);
}