The Fill Buffer function writes a value into a buffer, starting at a defined offset, and repeats the operation for a specified number of iterations.
The operation can either insert the data into the buffer or overwrite existing buffer contents.

|
|
Parameter Name |
Purpose |
|
A |
Buffer (Destination) |
The destination buffer into which the data is written. |
|
B |
Offset in Buffer |
Determines the start byte, in bytes, within the destination buffer. |
|
C |
Operation |
Determines how the data is written:
|
|
D |
Value to Use |
Specifies the value written to the buffer. |
|
E |
Number of Times to Repeat Operation |
Defines how many times the specified value is written consecutively to the buffer. |