Use the writeInt* methods.