insert method

Uint8List insert({
  1. required int indexStart,
  2. required int value,
})

Implementation

Uint8List insert({required int indexStart, required int value}) {
  _bytes = ByteUtil.insert(
      origin: _bytes,
      indexStart: indexStart,
      arrayInsert: Uint8List.fromList([value]));
  return _bytes;
}