@BFILL — Fills a binary buffer
with a repeating value.
Syntax:
%@BFILL[handle,size,value,offset,count,flags]
| handle | a handle returned by @BALLOC |
| offset | the starting offset, in bytes, from the start of the buffer; defaults to 0 |
| size | the size of the value to store: 1 a byte, 2 a word, 4 a doubleword, 8 a 64-bit integer; defaults to 1 |
| value | the value to store |
| count | the maximum number of times to store the value; defaults to filling the entire buffer |
| flags | bitmapped: |
1: big-endian |
The handle is required; all other parameters are
optional. If you do not supply any of the other options, @BFILL will
fill the entire buffer with zeros.
If the value begins with either a + or
- sign, it will be treated as a signed decimal integer. If
it begins with anything else, it’s unsigned. Either way, the
value must fall within the range
specified by the size parameter.