public byte[] encodeInt(int in) {
    return encodeNum(in, 4);
  }
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