@Override
      short toShort(byte[] bytes, int offset, int length) {
        short n = 0;
        n = (short) ((n ^ bytes[offset]) & 0xFF);
        n = (short) (n << 8);
        n ^= (short) (bytes[offset + 1] & 0xFF);
        return n;
      }
Returns the Unsafe-using Converter, or falls back to the pure-Java implementation if unable
to do so.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java