Package org.polkadot.types.metadata
Class MagicNumber
- java.lang.Object
-
- java.lang.Number
-
- java.math.BigInteger
-
- org.polkadot.types.codec.AbstractInt
-
- org.polkadot.types.codec.UInt
-
- org.polkadot.types.primitive.U32
-
- org.polkadot.types.metadata.MagicNumber
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<java.math.BigInteger>,Codec,Compactable
public class MagicNumber extends U32
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intMAGIC_ERRORstatic U32MAGIC_NUMBER
-
Constructor Summary
Constructors Constructor Description MagicNumber(java.lang.Object value)
-
Method Summary
-
Methods inherited from class org.polkadot.types.codec.AbstractInt
bitLength, eq, getEncodedLength, isEmpty, toBn, toJson
-
Methods inherited from class java.math.BigInteger
abs, add, and, andNot, bitCount, byteValueExact, clearBit, compareTo, divide, divideAndRemainder, doubleValue, equals, flipBit, floatValue, gcd, getLowestSetBit, hashCode, intValue, intValueExact, isProbablePrime, longValue, longValueExact, max, min, mod, modInverse, modPow, multiply, negate, nextProbablePrime, not, or, pow, probablePrime, remainder, setBit, shiftLeft, shiftRight, shortValueExact, signum, sqrt, sqrtAndRemainder, subtract, testBit, toByteArray, toString, toString, valueOf, xor
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.polkadot.types.Codec
eq, getEncodedLength, isEmpty, toJson, toU8a
-
Methods inherited from interface org.polkadot.types.codec.Compactable
bitLength, toBn
-
-
-
-
Field Detail
-
MAGIC_NUMBER
public static final U32 MAGIC_NUMBER
-
MAGIC_ERROR
public static final int MAGIC_ERROR
- See Also:
- Constant Field Values
-
-