isRawSocket static method

bool isRawSocket(
  1. Uint8List message
)

Checks if the passed message initializes the raw socket protocol

Implementation

static bool isRawSocket(Uint8List message) {
  return message[0] == _metaHeader;
}