writeFixedArray method
Implementation
BcsWriter writeFixedArray(
dynamic vector,
int? size,
dynamic Function(BcsWriter writer, dynamic el, int i, int len) cb
) {
final lst = List.from(vector);
lst.sublist(0, size ?? lst.length).asMap().forEach((i, el) => cb(this, el, i, vector.length));
return this;
}