u8LCopy4 function
Returns a Uint8Lit that contains only 4 integers starting
from originalstart
. Start defaults to 0 if not set. If
4 integers cannot be copied from the list (e.g. list length
is less than 4 or start is too large to copy 4 integers), a
list of -1, -1, -1, -1
will be returned. Returns 0 in place
of any integer if that location is empty in the source list.
Implementation
@visibleForTesting
Uint8List u8LCopy4(Uint8List original, {int start = 0}) {
return _u8LCopy4(original, start: start);
}