@BPOKEX — Like @BPOKE, but supports oddball word sizes and big-endian data.

Syntax:
@BPOKEX[handle,offset,wordsize,value,flags]

handlea handle returned by @BALLOC
offsetthe starting offset, in bytes, from the start of the buffer
wordsizethe size of the value to store: 1 a byte, 2 a word, 4 a doubleword, 8 a 64-bit integer
valuethe value to store
flagsbitmapped:
     1: big-endian

If the value begins with either a + or - sign, the value is treated as a signed value; otherwise it’s unsigned. Either way, the value must fall within the range specified by the wordsize parameter.

Returns 0 for success.

See also: @BPEEKX.