C# Class BaseNcoding.Base64

Inheritance: Base
Mostrar archivo Open project: KvanTTT/BaseNcoding

Public Methods

Method Description
Base64 ( string alphabet = DefaultAlphabet, char special = DefaultSpecial, Encoding textEncoding = null, bool parallel = false ) : System
Decode ( string data ) : byte[]
Encode ( byte data ) : string

Private Methods

Method Description
DecodeBlock ( string src, byte dst, int beginInd, int endInd ) : void
EncodeBlock ( byte src, char dst, int beginInd, int endInd ) : void

Method Details

Base64() public method

public Base64 ( string alphabet = DefaultAlphabet, char special = DefaultSpecial, Encoding textEncoding = null, bool parallel = false ) : System
alphabet string
special char
textEncoding System.Text.Encoding
parallel bool
return System

Decode() public method

public Decode ( string data ) : byte[]
data string
return byte[]

Encode() public method

public Encode ( byte data ) : string
data byte
return string