Example #1
0
 /// <summary>
 /// Send an array of bytes, given an offset, length and if the 4 bytes length is sent before the real message.
 /// </summary>
 /// <param name="data">The data to send</param>
 /// <param name="offset">The offset of the data</param>
 /// <param name="count">The length to read from the data (if null, will take full length)</param>
 /// <param name="withLengthPrefixed">if the 4 bytes length is sent before the real message</param>
 public void Send(byte[] data, int offset = 0, int?count = null, bool withLengthPrefixed = true)
 {
     InfoHandler.Send(data, offset, count, withLengthPrefixed);
 }