You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Reads the next <see cref="uint"/> data type from the SSH data stream.
185
215
/// </summary>
@@ -264,11 +294,10 @@ public override byte[] ToArray()
264
294
/// An array of bytes that was read from the internal buffer.
265
295
/// </returns>
266
296
/// <exception cref="ArgumentOutOfRangeException"><paramref name="length"/> is greater than the internal buffer size.</exception>
267
-
privatebyte[]ReadBytes(intlength)
297
+
internalbyte[]ReadBytes(intlength)
268
298
{
269
299
vardata=newbyte[length];
270
300
varbytesRead=Read(data,0,length);
271
-
272
301
if(bytesRead<length)
273
302
{
274
303
thrownewArgumentOutOfRangeException(nameof(length),string.Format(CultureInfo.InvariantCulture,"The requested length ({0}) is greater than the actual number of bytes read ({1}).",length,bytesRead));
0 commit comments