Parameters
- buffer
- Memory buffer.
- itemCount
- Number of items to write. The amount of data written into the memory buffer will be
itemCount
multiplied byitemSize
.The relative values ofitemCount
anditemSize
really do not matter; the only thing that matters is their product. It is often convenient to setitemSize
to 1, so thatitemCount
is the number of bytes to write. - itemSize
- Number of bytes in an item.