NCEPLIBS-w3emc 2.12.0
|
This is the fortran version of gbytes. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | gbytes (ipackd, iunpkd, noff, nbits, iskip, iter) |
Program history log: | |
subroutine gbytes | ( | integer, dimension(*) | ipackd, |
integer, dimension(*) | iunpkd, | ||
noff, | |||
nbits, | |||
iskip, | |||
iter | |||
) |
Program history log:
To unpack a series of bytes into a target array. Each unpacked byte is right-justified in its target word, and the remainder of the word is zero-filled.
[in] | IPACKD | The word or array containing the packed bytes. |
[out] | IUNPKD | The array which will contain the unpacked bytes. |
[in] | NOFF | The initial number of bits to skip, left to right, in 'IPACKD' in order to locate the first byte to unpack. |
[in] | NBITS | Number of bits in the byte to be unpacked. Maximum of 64 bits on 64 bit machine, 32 bits on 32 bit machine. |
[in] | ISKIP | The number of bits to skip between each byte in 'IPACKD' in order to locate the next byte to be unpacked. |
[in] | ITER | The number of bytes to be unpacked. |