readFixedArray method

List readFixedArray(
  1. int size,
  2. dynamic cb(
    1. BcsReader reader,
    2. int i,
    3. int length
    )
)

Implementation

List<dynamic> readFixedArray(int size, dynamic Function(BcsReader reader, int i, int length) cb) {
  int length = size;
  final result = <dynamic>[];
  for (int i = 0; i < length; i++) {
    result.add(cb(this, i, length));
  }
  return result;
}