NCEPLIBS-bufr  12.0.1
upbb.f File Reference

Decode an integer value from an integer array. More...

Go to the source code of this file.

Functions/Subroutines

subroutine upbb (NVAL, NBITS, IBIT, IBAY)
 This subroutine decodes an 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...
 

Detailed Description

Decode an integer value from an integer array.

Author
J. Woollen
Date
1994-01-06

Definition in file upbb.f.

Function/Subroutine Documentation

◆ upbb()

subroutine upbb (   NVAL,
  NBITS,
  IBIT,
dimension(*)  IBAY 
)

This subroutine decodes an 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 upb(), except that here IBIT is only an input argument, and the overall order of the arguments is different.

Parameters
[in]IBAY– integer(*): Array containing encoded value
[in]IBIT– integer: Bit within IBAY after which to begin decoding NVAL
[in]NBITS– integer: Number of bits to be decoded
[out]NVAL– integer: Decoded value
Author
J. Woollen
Date
1994-01-06

Definition at line 21 of file upbb.f.

References irev().

Referenced by rcstpl(), upb(), and writlc().