getMessageSize method
Implementation
int getMessageSize() {
var length = 0;
length += utf8.encode(topic).length;
length += utf8.encode(node_pub).length;
length += utf8.encode(node_sub).length;
return length + 88;
}
int getMessageSize() {
var length = 0;
length += utf8.encode(topic).length;
length += utf8.encode(node_pub).length;
length += utf8.encode(node_sub).length;
return length + 88;
}