Click or drag to resize

YBigInteger Class

This class represents a big integer.
Inheritance Hierarchy
SystemObject
  Upsilon.Common.LibraryYBigInteger

Namespace: Upsilon.Common.Library
Assembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public sealed class YBigInteger

The YBigInteger type exposes the following members.

Constructors
 NameDescription
Public methodYBigInteger(Byte) Create a new YBigInteger from the byte array byteArray.
Public methodYBigInteger(String) Create a new YBigInteger from the YBase prefixed string number strValue.
Top
Properties
 NameDescription
Public propertyByteArray The byte array which represent the YBigInteger.
Top
Methods
 NameDescription
Public methodStatic memberAddBytes Add two byte arrays in the given YBase.
Public methodStatic memberAddString Add two YBase prefixed string.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberMultiplyBytes Multiply two byte arrays in the given YBase.
Public methodStatic memberMultiplyString Multiply two YBase prefixed string.
Public methodShiftToLeft Apply a Binary Left Shift operation to current YBigInteger.
Public methodShiftToRight Apply a Binary Right Shift operation to current YBigInteger.
Public methodToString Returns the YBigInteger in Decimal string format.
(Overrides ObjectToString)
Public methodToString(YBase) Returns the YBigInteger in the base prefixed string format.
Top
Operators
 NameDescription
Public operatorStatic memberAddition(Int64, YBigInteger) Add a long number to a YBigInteger.
Public operatorStatic memberAddition(YBigInteger, Int64) Add a YBigInteger to a long number.
Public operatorStatic memberAddition(YBigInteger, YBigInteger) Add two YBigInteger.
Public operatorStatic memberBitwiseAnd(Int64, YBigInteger) Apply a Binary AND operation between a long number to a YBigInteger.
Public operatorStatic memberBitwiseAnd(YBigInteger, Int64) Apply a Binary AND operation between a YBigInteger to a long number.
Public operatorStatic memberBitwiseAnd(YBigInteger, YBigInteger) Apply a Binary AND operation between two YBigInteger.
Public operatorStatic memberBitwiseOr(Int64, YBigInteger) Apply a Binary OR operation between a long number to a YBigInteger.
Public operatorStatic memberBitwiseOr(YBigInteger, Int64) Apply a Binary OR operation between a YBigInteger to a long number.
Public operatorStatic memberBitwiseOr(YBigInteger, YBigInteger) Apply a Binary OR operation between two YBigInteger.
Public operatorStatic memberExclusiveOr(Int64, YBigInteger) Apply a Binary XOR operation between a long number to a YBigInteger.
Public operatorStatic memberExclusiveOr(YBigInteger, Int64) Apply a Binary XOR operation between a YBigInteger to a long number.
Public operatorStatic memberExclusiveOr(YBigInteger, YBigInteger) Apply a Binary XOR operation between two YBigInteger.
Public operatorStatic memberMultiply(Int64, YBigInteger) Multiply a long number to a YBigInteger.
Public operatorStatic memberMultiply(YBigInteger, Int64) Multiply a YBigInteger to a long number.
Public operatorStatic memberMultiply(YBigInteger, YBigInteger) Multiply two YBigInteger.
Public operatorStatic memberOnesComplement(YBigInteger) Apply a Binary NOT operation to a YBigInteger.
Top
Fields
 NameDescription
Public fieldStatic memberInternalBase The internal base which is 0x100 or 256.
Top
Extension Methods
 NameDescription
Public Extension MethodGetMD5HashCode Get the MD5 Hash code of an Objectobj as a string.
(Defined by YObjectExtentionMethods)
Public Extension MethodSerializeObject Serialize an ObjecttoSerialize.
(Defined by YSerializationCenter)
Top
See Also