PemEncoding.GetEncodedSize(Int32, 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.
Determines the length of a PEM-encoded value, in characters, given the length of a label and binary data.
public:
static int GetEncodedSize(int labelLength, int dataLength);
public static int GetEncodedSize (int labelLength, int dataLength);
static member GetEncodedSize : int * int -> int
Public Shared Function GetEncodedSize (labelLength As Integer, dataLength As Integer) As Integer
Parameters
- labelLength
- Int32
The length of the label, in characters.
- dataLength
- Int32
The length of the data, in bytes.
Returns
The number of characters in the encoded PEM.
Exceptions
labelLength
is a negative value.
-or-
dataLength
is a negative value.
-or-
labelLength
exceeds the maximum possible label length.
-or-
dataLength
exceeds the maximum possible encoded data length.
The length of the PEM-encoded value is larger than Int32.MaxValue.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za