/// <summary> /// Sends a byte array /// </summary> /// <param name="conId">Connection id the message should be delivered to.</param> /// <param name="data">Content/Buffer that contains the content</param> /// <param name="offset">Start index of the content in data</param> /// <param name="length">Length of the content in data</param> /// <param name="reliable">True to use the ordered, reliable transfer, false for unordered and unreliable</param> public bool SendData(ConnectionId conId, byte[] data, int offset, int length, bool reliable) { return(CAPI.Unity_WebRtcNetwork_SendData(mReference, conId.id, data, offset, length, reliable)); }