C# Class CSharpRTMP.Common.BigInteger

Afficher le fichier Open project: langhuihui/csharprtmp Class Usage Examples

Méthodes publiques

Свойство Type Description
Data uint[]
Length int
Pool ConcurrentBag

Méthodes publiques

Méthode Description
BigInteger ( BigInteger bi ) : System
BigInteger ( byte inData ) : System
BigInteger ( long value ) : System
BigInteger ( ulong value ) : System
Clear ( ) : void
Divide ( BigInteger bi2 ) : void
DivideMultiByte ( BigInteger bi2 ) : void
DivideSingleByte ( BigInteger bi2 ) : void
Equals ( object o ) : bool
GetBytes ( int keySize ) : byte[]
GetHashCode ( ) : int
GetRemainderMultiByte ( BigInteger bi2 ) : BigInteger
GetRemainderSingleByte ( BigInteger bi2 ) : BigInteger
ModPow ( BigInteger exp, BigInteger n ) : BigInteger
Multiply ( BigInteger bi1, BigInteger bi2, BigInteger &result ) : void
Multiply ( BigInteger bi1, ulong bi2, BigInteger &result ) : void
Negative ( ) : void
Recycle ( ) : void
Subtract ( BigInteger bi2 ) : void
bitCount ( ) : int
operator ( ) : BigInteger
operator ( ) : bool
this ( int pos ) : uint

Private Methods

Méthode Description
BarrettReduction ( BigInteger &x1, BigInteger x2, BigInteger n, BigInteger constant, BigInteger &temp ) : void
shiftLeft ( uint buffer, int shiftVal ) : int
shiftRight ( uint buffer, int shiftVal ) : int

Method Details

BigInteger() public méthode

public BigInteger ( BigInteger bi ) : System
bi BigInteger
Résultat System

BigInteger() public méthode

public BigInteger ( byte inData ) : System
inData byte
Résultat System

BigInteger() public méthode

public BigInteger ( long value ) : System
value long
Résultat System

BigInteger() public méthode

public BigInteger ( ulong value ) : System
value ulong
Résultat System

Clear() public méthode

public Clear ( ) : void
Résultat void

Divide() public méthode

public Divide ( BigInteger bi2 ) : void
bi2 BigInteger
Résultat void

DivideMultiByte() public méthode

public DivideMultiByte ( BigInteger bi2 ) : void
bi2 BigInteger
Résultat void

DivideSingleByte() public méthode

public DivideSingleByte ( BigInteger bi2 ) : void
bi2 BigInteger
Résultat void

Equals() public méthode

public Equals ( object o ) : bool
o object
Résultat bool

GetBytes() public méthode

public GetBytes ( int keySize ) : byte[]
keySize int
Résultat byte[]

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetRemainderMultiByte() public méthode

public GetRemainderMultiByte ( BigInteger bi2 ) : BigInteger
bi2 BigInteger
Résultat BigInteger

GetRemainderSingleByte() public méthode

public GetRemainderSingleByte ( BigInteger bi2 ) : BigInteger
bi2 BigInteger
Résultat BigInteger

ModPow() public méthode

public ModPow ( BigInteger exp, BigInteger n ) : BigInteger
exp BigInteger
n BigInteger
Résultat BigInteger

Multiply() public static méthode

public static Multiply ( BigInteger bi1, BigInteger bi2, BigInteger &result ) : void
bi1 BigInteger
bi2 BigInteger
result BigInteger
Résultat void

Multiply() public static méthode

public static Multiply ( BigInteger bi1, ulong bi2, BigInteger &result ) : void
bi1 BigInteger
bi2 ulong
result BigInteger
Résultat void

Negative() public méthode

public Negative ( ) : void
Résultat void

Recycle() public méthode

public Recycle ( ) : void
Résultat void

Subtract() public méthode

public Subtract ( BigInteger bi2 ) : void
bi2 BigInteger
Résultat void

bitCount() public méthode

public bitCount ( ) : int
Résultat int

operator() public static méthode

public static operator ( ) : BigInteger
Résultat BigInteger

operator() public static méthode

public static operator ( ) : bool
Résultat bool

this() public méthode

public this ( int pos ) : uint
pos int
Résultat uint

Property Details

Data public_oe property

public uint[] Data
Résultat uint[]

Length public_oe property

public int Length
Résultat int

Pool public_oe static_oe property

public static ConcurrentBag Pool
Résultat ConcurrentBag