Sets two byte(16-bit) data to array.
If new data is set at the end of array, data is appended, otherwise it is overwritten.
array_setdata16(hnd, pos, data);
hnd = array_new(); array_setdata16(hnd, 0, 0x0102, 0x0304, 0x0506, 0x0708); result = array_printdata(hnd); array_delete(hnd);
result:
8; 0x02, 0x01, 0x04, 0x03, 0x06, 0x05, 0x08, 0x07