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

SetupWrite() private method

Setups the write.
private SetupWrite ( ) : void
return void
        private void SetupWrite()
        {
            if ((!CanWrite))
                throw new NotSupportedException("Write not supported.");

            if (!_bufferOwnedByWrite)
            {
                FlushReadBuffer();
                _bufferOwnedByWrite = true;
            }
        }