@BFILL — Fills a binary buffer with a repeating value.

Syntax:
%@BFILL[handle,size,value,offset,count,flags]

handlea handle returned by @BALLOC
offsetthe starting offset, in bytes, from the start of the buffer; defaults to 0
sizethe size of the value to store: 1 a byte, 2 a word, 4 a doubleword, 8 a 64-bit integer; defaults to 1
valuethe value to store
countthe maximum number of times to store the value; defaults to filling the entire buffer
flagsbitmapped:
      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.