decodeMax

fun decodeMax(b: ByteArray, dimension: Int): Double

decodes the max value (for the defined dimension) from the encoded input byte array