UnityEngine.Networking.ULocalConnectionToServer.SendBytes C# (CSharp) Method

SendBytes() public method

public SendBytes ( byte bytes, int numBytes, int channelId ) : bool
bytes byte
numBytes int
channelId int
return bool
        public override bool SendBytes(byte[] bytes, int numBytes, int channelId)
        {
            if (numBytes <= 0)
            {
                if (LogFilter.logError)
                {
                    Debug.LogError("LocalConnection:SendBytes cannot send zero bytes");
                }
                return false;
            }
            return this.m_LocalServer.InvokeBytes(this, bytes, numBytes, channelId);
        }