public static double decodeDouble ( byte [ ] src , int srcOffset ) throws CorruptEncodingException { long bits = decodeDoubleBits ( src , srcOffset ) ; bits ^= ( bits < 0 ) ? 0x8000000000000000 L : 0xffffffffffffffff L ; return Double . longBitsToDouble ( bits ) ; }
Decodes a double from exactly 8 bytes .