# appendAll method

void appendAll(

1. List<int> bytes

)

Appends multiple bytes to this byte array.

Example:

    final bytes = Byte.fromList([1, 2]);
    bytes.appendAll([3, 4, 5]);
    print(bytes.toList());  // [1, 2, 3, 4, 5]

Throws InvalidArgumentException if any value is outside byte range.

## Implementation

    void appendAll(List<int> bytes) {
      _bytes.addAll(bytes.map(_validateByteRange));
    }