gets the max message size exponent of the given message
message
static int getMaxMessageSizeExponent(Uint8List message) { return ((message[1] & 0xFF) >> 4) + 9; }