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