Gets the message type for the given message.
message
static int getMessageType(Uint8List message, {offset = 0}) { return message[offset + 0]; }