SetData

Copies the supplied array into the buffer. Byte, Integer, and Long arrays are supported.

SetData(array as Variant)
array
The array containing the source data.