consolidate_response library

Classes

Uint8List
A fixed-length list of 8-bit unsigned integers.

Functions

consolidateStreamedResponseBytes(StreamedResponse response, {BytesReceivedCallback? onBytesReceived}) Future<Uint8List>
Efficiently converts the response body of an StreamedResponse into a Uint8List.

Typedefs

BytesReceivedCallback = void Function(int cumulative, int? total)
Signature for getting notified when chunks of bytes are received while consolidating the bytes of an StreamedResponse into a Uint8List.