readIntoSync abstract method
int readIntoSync(Reads into an existing List<int>
from the socket into the range: [start
,end
).
Reads into an existing List<int>
from the socket. If start
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.
Source
int readIntoSync(List<int> buffer, [int start = 0, int end]);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/RawSynchronousSocket/readIntoSync.html