code: func (enc *Encoder) EncodeInt(v int32) (err error) {
  	b := make([]byte, 4, 4)
  	b[0] = byte(v >> 24)
  	b[1] = byte(v >> 16)
  	b[2] = byte(v >> 8)
  	b[3] = byte(v)
  
  	if len(enc.data) > maxInt-4 {
  		err = marshalError("EncodeInt", ErrOverflow, errMaxSlice, b)
  		return
  	}
  
  	enc.data = append(enc.data, b...)
  	return
  }
docs: // EncodeInt appends the XDR encoded representation of the passed 32-bit signed
  // integer to the Encoder's data.
  //
  // A MarshalError is returned if appending the data would overflow the
  // internal data slice.
  //
  // Reference:
  // 	RFC Section 4.1 - Integer
  // 	32-bit big-endian signed integer in range [-2147483648, 2147483647]