Routines (alphabetical) > Routines: G > GRIB Routines > GRIB_GET_MESSAGE_SIZE

# GRIB_GET_MESSAGE_SIZE

The GRIB_GET_MESSAGE_SIZE function returns the size of the coded message in bytes.

## Examples

See GRIB_GET_VALUES for a general example using the GRIB routines.

## Syntax

Result = GRIB_GET_MESSAGE_SIZE(Ghandle)

## Return Value

Returns the size of the coded message in bytes.

## Arguments

### Ghandle

A GRIB handle.

## Version History

8.1 | Introduced