Remove commented out code.

This commit is contained in:
drieseng
2016-12-12 16:31:13 +01:00
parent 1dd79b2008
commit c7cc92bbd6
-18
View File
@@ -255,24 +255,6 @@ namespace Renci.SshNet.Common
return _stream.ReadBinary();
}
//protected byte[] ReadBinaryDebug()
//{
// DiagnosticAbstraction.Log("Stream Position:" + _stream.Position);
// var data = _stream.ReadBytes(4);
// DiagnosticAbstraction.Log("Binary Length Bytes:" + Session.ToHex(data, 0));
// var length = (uint)(data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3]);
// DiagnosticAbstraction.Log("Binary Length:" + length);
// if (length > int.MaxValue)
// {
// throw new NotSupportedException(string.Format(CultureInfo.CurrentCulture, "Data longer than {0} is not supported.", int.MaxValue));
// }
// var binary = _stream.ReadBytes((int) length);
// DiagnosticAbstraction.Log("Binary Bytes:" + Session.ToHex(binary, 0));
// return binary;
//}
/// <summary>
/// Reads next name-list data type from internal buffer.
/// </summary>