NCEPLIBS-w3emc 2.12.0
|
Constant size binary string unpacker. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | w3ai41 (kfld, kout, klen, knum, koff) |
Unpack consecutive binary strings of the same size from one user supplied array and store them in the same order right aligned in another array. | |
subroutine w3ai41 | ( | integer, dimension(*) | kfld, |
integer, dimension(*) | kout, | ||
klen, | |||
knum, | |||
koff | |||
) |
Unpack consecutive binary strings of the same size from one user supplied array and store them in the same order right aligned in another array.
W3AI41() is the reverse of W3AI40().
Program history log:
[in] | KFLD | Integer array contining binary string(s). |
[in] | KLEN | Integer number of bits per string (0 < klen < 65). |
[in] | KNUM | Integer number of strings to unpack. this value must not exceed the dimension of 'kout'. |
[in] | KOFF | Integer number specifying the bit offset of the first string 'kfld'. the offset value is reset to include the low order bit of the last string unpacked ('koff' > 0 ). |
[out] | KOUT | Integer*4 array holding unpacked string(s). |
Exit states: error - 'koff' < 0 if 'klen' has an illegal value or 'knum' < 1 then 'kout' has no strings stored.