splitTwo static method
Implementation
static List<Uint8List> splitTwo(
Uint8List input, int firstLength, int secondLength) {
final first = input.sublist(0, firstLength);
final second = input.sublist(firstLength, firstLength + secondLength);
return [first, second];
}