readIntoSync method
Reads into an existing Liststart
,end
).
Reads into an existing Liststart
is present,
the bytes will be filled into buffer
from index start
, otherwise index
- If
end
is present,end
-start
bytes will be read intobuffer
, otherwise up tobuffer.length
. Ifend
==start
, no bytes are read. Returns the number of bytes read.
Implementation
int readIntoSync(List<int> buffer, [int start = 0, int end]);