public static short getShort(final byte[] b, final int off) {
        return HeapByteBufUtil.getShort(b, off);
    }
Bits util.

@author boyan (boyan@alibaba-inc.com)
@author jiachun.fjc
jraft-core/src/main/java/com/alipay/sofa/jraft/util/Bits.java