The following example shows converting a Byte array to Double.
First create a ByteBuffer with given byte array and then read next 8 bytes from it as a Double.
java.nio.ByteBuffer
public static ByteBuffer wrap(byte[] array) Wraps a byte array into a buffer.
public double getDouble() Reads the next eight bytes in the ByteBuffer as a Double.