byteData abstract method

Future<ByteData> byteData([
  1. int start = 0,
  2. int? end
])

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]);