BrotliEncoder.GetMaxCompressedLength(Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maximum expected compressed length for the provided input size.
public:
static int GetMaxCompressedLength(int inputSize);
public static int GetMaxCompressedLength(int inputSize);
static member GetMaxCompressedLength : int -> int
Public Shared Function GetMaxCompressedLength (inputSize As Integer) As Integer
- inputSize
- Int32
The input size to get the maximum expected compressed length from. Must be greater or equal than 0 and less or equal than Int32.MaxValue - 515.
A number representing the maximum compressed length for the provided input size.
inputSize
is less than 0, the minimum allowed input size, or greater than Int32.MaxValue - 515, the maximum allowed input size.
Returns 1 if inputSize
is 0.
Продукт | Версии |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: