getMaxMessageSizeExponent static method

int getMaxMessageSizeExponent(
  1. Uint8List message
)

gets the max message size exponent of the given message

Implementation

static int getMaxMessageSizeExponent(Uint8List message) {
  return ((message[1] & 0xFF) >> 4) + 9;
}