@BPEEKX — Like @BPEEK, but supports oddball word sizes and big-endian data.

Syntax:
@BPEEKX[handle,offset,wordsize,fmt,flags]

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

The optional fmt parameter specifies the format for the returned value:

0unsigned decimal (the default)
1signed decimal
2hexadecimal with a leading 0x
3hexadecimal without any prefix
4octal

See also: @BPOKEX.