public static double bytesToDoubleBE(byte[] bytes, int off) {
        return Double.longBitsToDouble(bytesToLongBE(bytes, off));
    }
@Test
    public void testBytesToDoubleBE() {
        assertEquals(Math.PI,
                ByteUtils.bytesToDoubleBE(DOUBLE_PI_BE, 0), 0);
    }