BigInteger: ToByteArray

ToByteArray

Returns a byte array representing the number.



 Public Function ToByteArray ( ) 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 CorLib Overview

Class BigInteger Overview