/// <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> /// <returns>A Task</returns> public async Task SendAsync(byte[] data, int offset = 0, int?count = null, bool withLengthPrefixed = true) { await InfoHandler.SendAsync(data, offset, count, withLengthPrefixed); }