Is there a memset
or memcpy
operation to set a single int16, or int32 to an entire array?
Basically I have an integer array and I want to broadcast a single value to all of its elements. memset
only supports setting a 1-byte char.
Is there a memset
or memcpy
operation to set a single int16, or int32 to an entire array?
Basically I have an integer array and I want to broadcast a single value to all of its elements. memset
only supports setting a 1-byte char.