Writes an int at offset.
int
offset
void int32(int offset, int value) => bytes.setInt32(offset, value, Endian.host);