C# Class System.Globalization.Bootstring

Show file Open project: runefs/Marvin

Public Methods

Method Description
Bootstring ( char delimiter, int baseNum, int tmin, int tmax, int skew, int damp, int initialBias, int initialN ) : System
Decode ( string s, int offset ) : string
Encode ( string s, int offset ) : string

Private Methods

Method Description
Adapt ( int delta, int numPoints, bool firstTime ) : int
DecodeDigit ( char c ) : int
EncodeDigit ( int d ) : char

Method Details

Bootstring() public method

public Bootstring ( char delimiter, int baseNum, int tmin, int tmax, int skew, int damp, int initialBias, int initialN ) : System
delimiter char
baseNum int
tmin int
tmax int
skew int
damp int
initialBias int
initialN int
return System

Decode() public method

public Decode ( string s, int offset ) : string
s string
offset int
return string

Encode() public method

public Encode ( string s, int offset ) : string
s string
offset int
return string