public int decodeInt(byte[] in) {
    assert in.length <= 4 : "Too long to be an int (" + in.length + ") bytes";
    return (int) decodeLong(in);
  }
Get an instance of TranscoderUtils.

@param pack if true, remove all zero bytes from the MSB of the packed num
src/main/java/net/spy/memcached/transcoders/TranscoderUtils.java