NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
gbytes.f File Reference

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:
 

Detailed Description

This is the fortran version of gbytes.

Author
Dr. Robert C. Gammill
Date
1972-05

Definition in file gbytes.f.

Function/Subroutine Documentation

◆ gbytes()

subroutine gbytes ( integer, dimension(*)  ipackd,
integer, dimension(*)  iunpkd,
  noff,
  nbits,
  iskip,
  iter 
)

Program history log:

  • Russell E. Jones 1991-03 Changes for SiliconGraphics IRIS-4D/25 SiliconGraphics 3.3 FORTRAN 77

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.

Parameters
[in]IPACKDThe word or array containing the packed bytes.
[out]IUNPKDThe array which will contain the unpacked bytes.
[in]NOFFThe initial number of bits to skip, left to right, in 'IPACKD' in order to locate the first byte to unpack.
[in]NBITSNumber of bits in the byte to be unpacked. Maximum of 64 bits on 64 bit machine, 32 bits on 32 bit machine.
[in]ISKIPThe number of bits to skip between each byte in 'IPACKD' in order to locate the next byte to be unpacked.
[in]ITERThe number of bytes to be unpacked.

Definition at line 25 of file gbytes.f.