NCEPLIBS-g2  3.4.5
g2_gbytesc.f File Reference

This Fortran module extract or store arbitrary size values between packed bit string and unpacked array. More...

Go to the source code of this file.

Functions/Subroutines

subroutine g2_gbytec (IN, IOUT, ISKIP, NBYTE)
 This subrountine is to extract arbitrary size values from a packed bit string, right justifying each value in the unpacked array without skip and interations. More...
 
subroutine g2_gbytesc (IN, IOUT, ISKIP, NBYTE, NSKIP, N)
 This subrountine is to extract arbitrary size values from a packed bit string, right justifying each value in the unpacked array with skip and interation options. More...
 
subroutine g2_sbytec (OUT, IN, ISKIP, NBYTE)
 This subrountine is to put arbitrary size values into a packed bit string, taking the low order bits from each value in the unpacked array without skip and interation. More...
 
subroutine g2_sbytesc (OUT, IN, ISKIP, NBYTE, NSKIP, N)
 This subrountine is to put arbitrary size values into a packed bit string, taking the low order bits from each value in the unpacked array with skip and interation options. More...
 

Detailed Description

This Fortran module extract or store arbitrary size values between packed bit string and unpacked array.

Author
Stephen Gilbert
Date
2004-04-27

Definition in file g2_gbytesc.f.

Function/Subroutine Documentation

◆ g2_gbytec()

subroutine g2_gbytec ( character*1, dimension(*)  IN,
integer, dimension(*)  IOUT,
  ISKIP,
  NBYTE 
)

This subrountine is to extract arbitrary size values from a packed bit string, right justifying each value in the unpacked array without skip and interations.

Parameters
[in]INcharacter*1 array input
[out]IOUTunpacked array output
[in]ISKIPinitial number of bits to skip
[in]NBYTEnumber of bits to take
Author
Stephen Gilbert
Date
2004-04-27

Definition at line 20 of file g2_gbytesc.f.

◆ g2_gbytesc()

subroutine g2_gbytesc ( character*1, dimension(*)  IN,
integer, dimension(*)  IOUT,
  ISKIP,
  NBYTE,
  NSKIP,
  N 
)

This subrountine is to extract arbitrary size values from a packed bit string, right justifying each value in the unpacked array with skip and interation options.

Parameters
[in]INcharacter*1 array input
[out]IOUTunpacked array output
[in]ISKIPinitial number of bits to skip
[in]NBYTEnumber of bits to take
[in]NSKIPadditional number of bits to skip on each iteration
[in]Nnumber of iterations
Author
Stephen Gilbert
Date
2004-04-27

Definition at line 60 of file g2_gbytesc.f.

◆ g2_sbytec()

subroutine g2_sbytec ( character*1, dimension(*)  OUT,
integer, dimension(*)  IN,
  ISKIP,
  NBYTE 
)

This subrountine is to put arbitrary size values into a packed bit string, taking the low order bits from each value in the unpacked array without skip and interation.

Parameters
[out]OUTpacked array output
[in]INunpacked array input
[in]ISKIPinitial number of bits to skip
[in]NBYTEnumber of bits to pack
Author
Stephen Gilbert
Date
2004-04-27

Definition at line 39 of file g2_gbytesc.f.

◆ g2_sbytesc()

subroutine g2_sbytesc ( character*1, dimension(*)  OUT,
integer, dimension(n)  IN,
  ISKIP,
  NBYTE,
  NSKIP,
  N 
)

This subrountine is to put arbitrary size values into a packed bit string, taking the low order bits from each value in the unpacked array with skip and interation options.

Parameters
[out]OUTpacked array output
[in]INunpacked array input
[in]ISKIPinitial number of bits to skip
[in]NBYTEnumber of bits to pack
[in]NSKIPadditional number of bits to skip on each iteration
[in]Nnumber of iterations
Author
Stephen Gilbert
Date
2004-04-27

Definition at line 115 of file g2_gbytesc.f.