mp_ptr Constructor (Byte[])

GMP Native Interface for .NET

mp_ptr Constructor (Byte)
Creates a new array of limbs initialized with values in unmanaged memory.

Namespace:  Math.Gmp.Native
Assembly:  Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public mp_ptr(
	byte[] values
)
Public Sub New ( 
	values As Byte()
)
public:
mp_ptr(
	array<unsigned char>^ values
)
new : 
        values : byte[] -> mp_ptr

Parameters

values
Type: SystemByte
The values of the limbs.
Remarks

If there is not enough bytes to fill out the most significant limb, it is padded with zeroes.

When done with the array, you must release the unmanaged memory by calling free.

See Also