UnityEngine.Networking.NetworkConnection.HandleBytes C# (CSharp) Method

HandleBytes() protected method

This makes the connection process the data contained in the buffer, and call handler functions.

protected HandleBytes ( byte buffer, int receivedSize, int channelId ) : void
buffer byte Data to process.
receivedSize int Size of the data to process.
channelId int Channel the data was recieved on.
return void
        protected void HandleBytes(byte[] buffer, int receivedSize, int channelId)
        {
            NetworkReader reader = new NetworkReader(buffer);
            this.HandleReader(reader, receivedSize, channelId);
        }