LiteNetLib.Utils.NetDataReader.SetSource C# (CSharp) Method

SetSource() public method

public SetSource ( byte source ) : void
source byte
return void
        public void SetSource(byte[] source)
        {
            _data = source;
            _position = 0;
            _maxLength = source.Length;
        }

Same methods

NetDataReader::SetSource ( byte source, int offset ) : void
NetDataReader::SetSource ( byte source, int offset, int maxSize ) : void