public static double parseBytesLongToDouble(List data) {
        return parseBytesLongToDouble(data, 0);
    }
@Test
    public void parseBytesLongToDouble() {
        byte[] longValByte = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A};
        Double valueExpected = 10.0d;
        Double valueActual = TbUtils.parseBytesLongToDouble(longValByte);
        Assertions.assertEquals(valueExpected, valueActual);
        valueActual = TbUtils.parseBytesLongToDouble(longValByte, 7, 1, true);
        Assertions.assertEquals(valueExpected, valueActual);
        valueActual = TbUtils.parseBytesLongToDouble(longValByte, 7, 1, false);
        Assertions.assertEquals(valueExpected, valueActual);

        valueActual = TbUtils.parseBytesLongToDouble(longValByte, 6, 2, true);
        Assertions.assertEquals(valueExpected, valueActual);
        valueExpected = 2560.0d;
        valueActual = TbUtils.parseBytesLongToDouble(longValByte, 6, 2, false);
        Assertions.assertEquals(valueExpected, valueActual);

        valueExpected = 10.0d;
        valueActual = TbUtils.parseBytesLongToDouble(longValByte, 0, 8, true);
        Assertions.assertEquals(valueExpected, valueActual);
        valueExpected = 7.2057594037927936E17d;
        valueActual = TbUtils.parseBytesLongToDouble(longValByte, 0, 8, false);
        Assertions.assertEquals(valueExpected, valueActual);
    }