8 references to MaxBufferLength
System.Formats.Tar (8)
System\Formats\Tar\TarHelpers.cs (8)
60
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToDiscard));
63
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToDiscard);
82
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToDiscard));
85
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToDiscard);
96
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToCopy));
99
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToCopy);
112
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToCopy));
115
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToCopy);