public static short toShort(Object ref, long offset) {
        if (LITTLE_ENDIAN) {
            return Short.reverseBytes(HBasePlatformDependent.getShort(ref, offset));
        }
        return HBasePlatformDependent.getShort(ref, offset);
    }
Reads a short value at the given Object's offset considering it was written in big-endian
format.

@return short value at offset
stroom-bytebuffer/src/main/java/stroom/bytebuffer/hbase/UnsafeAccess.java