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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για