BrotliEncoder.GetMaxCompressedLength(Int32) Method
Definition
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
Parameters
- 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.
Returns
A number representing the maximum compressed length for the provided input size.
Exceptions
inputSize
is less than 0, the minimum allowed input size, or greater than Int32.MaxValue - 515, the maximum allowed input size.
Remarks
Returns 1 if inputSize
is 0.
Applies to
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir