4 references to MaxBufferLength
System.Formats.Tar (4)
System\Formats\Tar\TarHelpers.cs (4)
91
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToDiscard));
96
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToDiscard);
114
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToCopy));
119
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToCopy);