code: func (out *DataOutputImpl) WriteInt(i int32) error {
  	assert(out.Writer != nil)
  	err := out.Writer.WriteByte(byte(i >> 24))
  	if err == nil {
  		err = out.Writer.WriteByte(byte(i >> 16))
  		if err == nil {
  			err = out.Writer.WriteByte(byte(i >> 8))
  			if err == nil {
  				err = out.Writer.WriteByte(byte(i))
  			}
  		}
  	}
  	return err
  }
docs: /*
  Writes an int as four bytes.
  
  32-bit unsigned integer written as four bytes, high-order bytes first.
  */