code: public static long reverseBits(final short value) {
      final int b0 = JBBPUtils.reverseBitsInByte((byte) value) & 0xFF;
      final int b1 = JBBPUtils.reverseBitsInByte((byte) (value >> 8)) & 0xFF;
  
      return (long) ((short) (b0 << 8) | (short) b1);
    }
docs: Get the reversed bit representation of the value.
  
  @param value the value to be reversed
  @return the reversed value