takeOutgoing method

List<Uint8List> takeOutgoing()

Returns and clears all queued outgoing chunks.

Implementation

List<Uint8List> takeOutgoing() {
  final result = List<Uint8List>.from(_outgoing);
  _outgoing.clear();
  return result;
}