byteData abstract method
Reads content body as bytes and returns a future of ByteData.
Optional start
and end
parameters define a range to be read. It's
required that 0 ≤ start ≤ end ≤ contentLength
. See also
ByteData.sublistView
for reference.
Implementation
Future<ByteData> byteData([int start = 0, int? end]);