NCEPLIBS-bufr  12.0.0
padmsg.f File Reference

Pad a BUFR message with zeroed-out bytes up to the next 8-byte boundary. More...

Go to the source code of this file.

Functions/Subroutines

subroutine padmsg (MESG, LMESG, NPBYT)
 This subroutine pads a BUFR message with zeroed-out bytes from the end of the message up to the next 8-byte boundary. More...
 

Detailed Description

Pad a BUFR message with zeroed-out bytes up to the next 8-byte boundary.

Author
Ator
Date
2005-11-29

Definition in file padmsg.f.

Function/Subroutine Documentation

◆ padmsg()

subroutine padmsg ( dimension(*)  MESG,
  LMESG,
  NPBYT 
)

This subroutine pads a BUFR message with zeroed-out bytes from the end of the message up to the next 8-byte boundary.

Parameters
[in,out]MESG- integer(*):
  • on input, contains BUFR message to be padded
  • on output, contains BUFR message with NPBYT zeroed-out bytes appended to the end
[in]LMESG- integer: dimensioned size (in integer words) of MESG; used by the subroutine to ensure that it does not overflow the MESG array.
[out]NPBYT- integer: number of zeroed-out bytes appended to MESG.
Author
Ator
Date
2005-11-29

Definition at line 18 of file padmsg.f.

References bort(), iupbs01(), nmwrd(), and pkb().

Referenced by msgwrt().