decodeMax

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

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