code: protected void INT(byte[] dest, int offset, int i)
      {
          dest[offset + 0] = (byte) (i / (256 * 256 * 256));
          dest[offset + 1] = (byte) (i / (256 * 256));
          dest[offset + 2] = (byte) (i / (256));
          dest[offset + 3] = (byte) (i);
      }
docs: Four-octet encoding of the integer i, most significant octet first.
  
  @see <a href="http://tools.ietf.org/html/rfc2898">RFC 2898 5.2 Step 3.</a>
  @param dest destination byte buffer
  @param offset zero-based offset into dest
  @param i the integer to encode