C# Класс iTextSharp.xmp.impl.Base64

A utility class to perform base64 encoding and decoding as specified in RFC-1521. See also RFC 1421. @version $Revision: 1.4 $
Показать файл Открыть проект

Открытые методы

Метод Описание
Decode ( byte src ) : byte[]

Decode the given byte[].

Decode ( string src ) : string

Decode the given string.

Encode ( byte src ) : byte[]

Encode the given byte[].

Encode ( byte src, int lineFeed ) : byte[]

Encode the given byte[].

Encode ( string src ) : string

Encode the given string.

Приватные методы

Метод Описание
Base64 ( ) : System
GetBytes ( string str ) : byte[]
GetString ( byte bytes ) : string

Описание методов

Decode() публичный статический Метод

Decode the given byte[].
public static Decode ( byte src ) : byte[]
src byte /// the base64-encoded data.
Результат byte[]

Decode() публичный статический Метод

Decode the given string.
public static Decode ( string src ) : string
src string the base64-encoded string.
Результат string

Encode() публичный статический Метод

Encode the given byte[].
public static Encode ( byte src ) : byte[]
src byte the source string.
Результат byte[]

Encode() публичный статический Метод

Encode the given byte[].
public static Encode ( byte src, int lineFeed ) : byte[]
src byte the source string.
lineFeed int a linefeed is added after linefeed characters; /// must be dividable by four; 0 means no linefeeds
Результат byte[]

Encode() публичный статический Метод

Encode the given string.
public static Encode ( string src ) : string
src string the source string.
Результат string