File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff 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>
You can’t perform that action at this time.
0 commit comments