getMessageType static method

int getMessageType(
  1. Uint8List message, {
  2. dynamic offset = 0,
})

Gets the message type for the given message.

Implementation

static int getMessageType(Uint8List message, {offset = 0}) {
  return message[offset + 0];
}