BINGETW
Synopsis
Extract data from a binary data object as a list of 32-bit words
Description
The BINGETW
command retrieves a specified number of words from a binary data container, starting from an offset position and returning the result in form of a list. The data is read from the container assuming it is stored in little endian byte order.
Compatibility
This command is new in newRPL and does not exist in userRPL.
Usage
3: BINDATA 2 VWZ3iYESIzR4 2: 1 1: 1 …………………………………………………………………………………… BINGETW
will result in
1: { #11223344h } ……………………………………………………………………………………
Related Commands
Command | Short Description | |
---|---|---|
MKBINDATA | Create binary data container object | NEW |
BINPUTB | Store bytes into binary data object | NEW |
BINGETB | Extract binary data as list of bytes | NEW |
BINPUTW | Store 32-bit words into binary data object | NEW |
BINGETW | Extract data from a binary data object as a list of 32-bit words | NEW |
BINPUTOBJ | Store an entire object into a binary data container | NEW |
BINGETOBJ | Extract an entire object from a binary data container | NEW |
BINMOVB | Copy binary data block into a binary data object | NEW |
BINMOVW | Copy 32-bit words between binary data objects | NEW |