pushBytes method
Append a list of integer values (chunk) to the byte sequence in the buffer.
Implementation
void pushBytes(List<int> chunk) {
for (final i in chunk) {
if (i < 0 || i > mask8) {
throw ArgumentException(
"invalid byte ${chunk[i] < 0 ? "-" : ""}0x${chunk[i].abs().toRadixString(16)}");
}
}
_buffer.add(chunk);
}