Base64
Base64 Public class
Description
A utility class to perform base64 encoding and decoding as specified in RFC-1521. See also RFC 1421.
@version $Revision: 1.4 $
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.xmp.impl
iTextSharp.xmp.impl.Base64[[Base64]]
end
Members
Methods
Public Static methods
Details
Summary
A utility class to perform base64 encoding and decoding as specified in RFC-1521. See also RFC 1421.
@version $Revision: 1.4 $
Constructors
Base64
public Base64()
Methods
Encode [1/3]
public static byte Encode(byte[] src)
Arguments
Type | Name | Description |
---|---|---|
byte``[] | src | the source string. |
Summary
Encode the given byte[].
Returns
the base64-encoded data.
Encode [2/3]
public static byte Encode(byte[] src, int lineFeed)
Arguments
Type | Name | Description |
---|---|---|
byte``[] | src | the source string. |
int | lineFeed | a linefeed is added after ... |
Summary
Encode the given byte[].
Returns
the base64-encoded data.
Encode [3/3]
public static string Encode(string src)
Arguments
Type | Name | Description |
---|---|---|
string | src | the source string. |
Summary
Encode the given string.
Returns
the base64-encoded string.
Decode [1/2]
public static byte Decode(byte[] src)
Arguments
Type | Name | Description |
---|---|---|
byte``[] | src | the base64-encoded data. |
Summary
Decode the given byte[].
Returns
the decoded data.
Decode [2/2]
public static string Decode(string src)
Arguments
Type | Name | Description |
---|---|---|
string | src | the base64-encoded string. |
Summary
Decode the given string.
Returns
the decoded string.
Generated with ModularDoc