readIntList method
Read a list of integers with length.
If length is not provided, it is read first.
Implementation
@override
List<int> readIntList([int? length]) {
length ??= readUint32();
final list = List<int>.filled(length, 0, growable: true);
for (var i = 0; i < length; i++) {
list[i] = readInt(); // Uses varint + ZigZag decoding
}
return list;
}