void writeInt32(int value, [Endian? endian]) { _init(4); _data.setInt32(_offset, value, endian ?? this.endian); _offset += 4; }