C# Class SharpCifs.Util.Base64

Mostra file Open project: brandonprry/Potato

Public Methods

Method Description
Decode ( string @string ) : byte[]

Decodes the supplied Base-64 encoded string.

Decodes the supplied Base-64 encoded string.

Encode ( byte bytes ) : string

Base-64 encodes the supplied block of data.

Base-64 encodes the supplied block of data. Line wrapping is not applied on output.

Method Details

Decode() public static method

Decodes the supplied Base-64 encoded string.
Decodes the supplied Base-64 encoded string.
public static Decode ( string @string ) : byte[]
@string string
return byte[]

Encode() public static method

Base-64 encodes the supplied block of data.
Base-64 encodes the supplied block of data. Line wrapping is not applied on output.
public static Encode ( byte bytes ) : string
bytes byte The block of data that is to be Base-64 encoded.
return string