isUpgrade static method

bool isUpgrade(
  1. Uint8List message
)

Checks if the passed message upgrades the protocoll to connectanum specific large size messages

Implementation

static bool isUpgrade(Uint8List message) {
  return message[0] == _upgradeHeader;
}