getDouble
fun ByteArray.getDouble(offset: Int, format: DoubleFormat = DoubleFormat.IEEE_754_DOUBLE_PRECISION, order: ByteOrder = ByteOrder.BIG_ENDIAN): Double
Returns a Double value from a byte array with a given offset.
Return
Double.
Parameters
offset
The index to start from.format
order
The byte order, default is ByteOrder.BIG_ENDIAN.
Throws
If the length of the byte array is less than offset + 8.