combineLists method

Uint8List combineLists(
  1. Uint8List a,
  2. Uint8List b
)

Implementation

Uint8List combineLists(Uint8List a, Uint8List b) {
  var length = a.length + b.length;
  var holder = Uint8List(length);
  holder.setRange(0, a.length, a);
  holder.setRange(a.length, length, b);
  return holder;
}