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