4 references to MaxAdvanceBufferLength
System.Formats.Tar (4)
src\runtime\src\libraries\Common\src\System\IO\SubReadStream.cs (4)
113
byte[] buffer = ArrayPool<byte>.Shared.Rent((int)Math.Min(
MaxAdvanceBufferLength
, bytesToDiscard));
118
int currentLengthToRead = (int)Math.Min(
MaxAdvanceBufferLength
, bytesToDiscard);
140
byte[] buffer = ArrayPool<byte>.Shared.Rent((int)Math.Min(
MaxAdvanceBufferLength
, bytesToDiscard));
145
int currentLengthToRead = (int)Math.Min(
MaxAdvanceBufferLength
, bytesToDiscard);