getMsgSize function

int getMsgSize (String msg)

Implementation

int getMsgSize(String msg) {
  Uint16List byteMsg = msg2bytes(msg);
  return byteMsg.length * dataLength;
}