BigInteger: ToArray

ToArray

Returns a byte array representing the number.



 Public Function ToArray ( ) As Byte ( )

Return Values

Byte() -  A byte array the same length as Precision that represents the number.

Remarks

To represent a byte array for a negative value, the highest bit must be set. To ensure this, a pair of bytes with the value of &HFF may be part of the return value.

See Also

Project VBCorLib Overview Class BigInteger Overview BigInteger Properties BigInteger Methods TestBit ToString