Description
Hello,
Reading Future func()
seems very bad, compared to Future<Object> func()
, especially in the code, of a core library (indexed_db
for example), and may depreciate the intent of code quality, towards the language team, among the readers of the code,
Also the RandomAccessFile
class has methods, void writeFromSync(List<int> buffer,
, int readIntoSync(List<int> buffer,
, which operate on List<int>
instead of Uint8List
, although the former is converted into the latter, internally, so are there any plans to replace int list parameters, with byte arrays,
Maybe in dart 3,
If not, can there we some member function, like Uint8List readSync(int count)
, which takes a byte array, for writing to a file, maybe like void writeSync(Uint8List bytes)
,
Thanking you,