Renci.SshNet.Sftp.SftpFileStream.SetupRead C# (CSharp) Method

SetupRead() private method

Setups the read.
private SetupRead ( ) : void
return void
        private void SetupRead()
        {
            if (!CanRead)
                throw new NotSupportedException("Read not supported.");

            if (_bufferOwnedByWrite)
            {
                FlushWriteBuffer();
                _bufferOwnedByWrite = false;
            }
        }