8 references to MaxBufferLength
System.Formats.Tar (8)
System\Formats\Tar\TarHelpers.cs (8)
61
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToDiscard));
64
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToDiscard);
83
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToDiscard));
86
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToDiscard);
97
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToCopy));
100
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToCopy);
113
byte[] buffer = ArrayPool<byte>.Shared.Rent(minimumLength: (int)Math.Min(
MaxBufferLength
, bytesToCopy));
116
int currentLengthToRead = (int)Math.Min(
MaxBufferLength
, bytesToCopy);