C# Class JSIL.Internal.SourceMapBuilder.Base64Vlq

Mostrar archivo Open project: sq/JSIL

Public Methods

Method Description
Encode ( int aValue ) : string

Private Methods

Method Description
EncodeDigit ( int number ) : char
ToVlqSigned ( int aValue ) : uint

Converts from a two-complement value to a value where the sign bit is placed in the least significant bit.For example, as decimals: 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) 2 becomes 4 (100 binary), -2 becomes 5 (101 binary)

Method Details

Encode() public static method

public static Encode ( int aValue ) : string
aValue int
return string