protected byte[] ReadBytes()
    {
        byte[] array = new byte[1];

        if (_sending)
        {
            Debug.Log(GetType() + " unable to read data in packet! It is sent!");
            return(array);
        }

        if (peer != null)
        {
            int array_sz = peer.ReadInt();
            array = new byte[array_sz];
            for (int i = 0; i < array_sz; i++)
            {
                array[i] = ReadByte();
            }
        }

        return(array);
    }