array_setdata64()

Sets eight byte(64-bit) data to array.

If new data is set at the end of array, data is appended, otherwise it is overwritten.

Syntax

array_setdata64(hnd, pos, data);

Parameters

hnd Array handle.
pos Data position. Special values are:
0 - start position of array.
-1 - end position of array.
Other: 1,2,3… (zero based numbering is used (1st position has number zero, 2nd number one etc…).
data Eight byte data.
Return Value Returns array size. Returned value is integer number.

Example

hnd = array_new();
array_setdata64(hnd, 0, 0x0001020304050607, 0x0011121314151617);
result = array_printdata(hnd);
array_delete(hnd);

result:

16; 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00, 0x17, 0x16, 0x15, 0x14, 0x13, 0x12, 0x11, 0x00

See also

array_new, array_delete, array_printdata, array_setdata, array_setdata16, array_setdata32, array_setdataflt32, array_setdataflt64