Package ucar.nc2.grib.grib1
Class Grib1SectionIndicator
- java.lang.Object
-
- ucar.nc2.grib.grib1.Grib1SectionIndicator
-
@Immutable public class Grib1SectionIndicator extends Object
The Indicator Section for GRIB-1 files
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEndPos()
Ending position of the entire GRIB message: startPos + messageLengthlong
getMessageLength()
Get the length of this GRIB record in bytes.long
getStartPos()
Starting position of the entire GRIB message: the 'G' in GRIB
-
-
-
Method Detail
-
getMessageLength
public long getMessageLength()
Get the length of this GRIB record in bytes.- Returns:
- length in bytes of GRIB record
-
getStartPos
public long getStartPos()
Starting position of the entire GRIB message: the 'G' in GRIB- Returns:
- the starting position of the entire GRIB message
-
getEndPos
public long getEndPos()
Ending position of the entire GRIB message: startPos + messageLength- Returns:
- the ending position of the entire GRIB message
-
-