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
{{ message }}
This repository was archived by the owner on Oct 12, 2025. It is now read-only.
if(_stream.Length-_stream.Position<count)thrownewInvalidDataException("Not enough data to read, remaining: "+(_stream.Length-_stream.Position)+" required: "+count);
243
243
if(count<0)thrownewInvalidDataException("Invalid count to read, count: "+count);
244
-
245
-
Span<byte>buffer=newbyte[count];
244
+
245
+
byte[]buffer=newbyte[count];
246
246
_=_stream.Read(buffer);
247
247
returnbuffer;
248
248
}
249
249
250
-
publicSpan<byte>ReadBytes(Prefixflag)
250
+
publicbyte[]ReadBytes(Prefixflag)
251
251
{
252
252
intlength=ReadLength(flag);
253
253
if(_stream.Length-_stream.Position<length)thrownewInvalidDataException("Not enough data to read, remaining: "+(_stream.Length-_stream.Position)+" required: "+length);
@@ -264,7 +264,7 @@ public string ReadString(Prefix flag)
0 commit comments