Skip to content

Commit c7cc92b

Browse files
committed
Remove commented out code.
1 parent 1dd79b2 commit c7cc92b

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/Renci.SshNet/Common/SshData.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -255,24 +255,6 @@ protected byte[] ReadBinary()
255255
return _stream.ReadBinary();
256256
}
257257

258-
//protected byte[] ReadBinaryDebug()
259-
//{
260-
// DiagnosticAbstraction.Log("Stream Position:" + _stream.Position);
261-
// var data = _stream.ReadBytes(4);
262-
// DiagnosticAbstraction.Log("Binary Length Bytes:" + Session.ToHex(data, 0));
263-
// var length = (uint)(data[0] << 24 | data[1] << 16 | data[2] << 8 | data[3]);
264-
// DiagnosticAbstraction.Log("Binary Length:" + length);
265-
266-
// if (length > int.MaxValue)
267-
// {
268-
// throw new NotSupportedException(string.Format(CultureInfo.CurrentCulture, "Data longer than {0} is not supported.", int.MaxValue));
269-
// }
270-
271-
// var binary = _stream.ReadBytes((int) length);
272-
// DiagnosticAbstraction.Log("Binary Bytes:" + Session.ToHex(binary, 0));
273-
// return binary;
274-
//}
275-
276258
/// <summary>
277259
/// Reads next name-list data type from internal buffer.
278260
/// </summary>

0 commit comments

Comments
 (0)