NCEPLIBS-bufr
12.0.1
|
Decode an 8-byte integer value from an integer array. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | up8 (nval, nbits, ibay, ibit) |
This subroutine decodes an 8-byte integer value from within a specified number of bits of an integer array, starting at the bit immediately after a specified bit within the array. More... | |
subroutine up8 | ( | integer(8) | nval, |
integer(4) | nbits, | ||
integer(4), dimension(*) | ibay, | ||
integer(4) | ibit | ||
) |
This subroutine decodes an 8-byte integer value from within a specified number of bits of an integer array, starting at the bit immediately after a specified bit within the array.
It is similar to subroutine upb8(), except that here IBIT is both an input and an output argument, and the overall order of the arguments is different.
This subroutine is the logical inverse of subroutine pkb8().
[in] | IBAY | – integer(*): Array containing encoded value |
[in,out] | IBIT | – integer: Bit pointer within IBAY
|
[in] | NBITS | – integer: Number of bits to be decoded |
[out] | NVAL | – integer*8: Decoded value |
Definition at line 26 of file up8.f.
References upb8().