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