C# Class BaseNcoding.Base85

Inheritance: Base
Show file Open project: KvanTTT/BaseNcoding

Public Methods

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

Private Methods

Method Description
DecodeBlock ( int bytes, byte decodedBlock, uint tuple ) : void
EncodeBlock ( int count, StringBuilder sb, byte encodedBlock, uint tuple ) : void

Method Details

Base85() public method

public Base85 ( string alphabet = DefaultAlphabet, char special = DefaultSpecial, bool prefixPostfix = false, Encoding textEncoding = null ) : System
alphabet string
special char
prefixPostfix bool
textEncoding System.Text.Encoding
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