@Immutable public class Grib2SectionBitMap extends Object
| Constructor and Description |
|---|
Grib2SectionBitMap(ucar.unidata.io.RandomAccessFile raf) |
| Modifier and Type | Method and Description |
|---|---|
static Grib2SectionBitMap |
factory(ucar.unidata.io.RandomAccessFile raf,
long startingPos) |
byte[] |
getBitmap(ucar.unidata.io.RandomAccessFile raf)
Read the bit map array.
|
int |
getBitMapIndicator() |
long |
getStartingPosition() |
String |
toString() |
public Grib2SectionBitMap(ucar.unidata.io.RandomAccessFile raf)
throws IOException
IOExceptionpublic static Grib2SectionBitMap factory(ucar.unidata.io.RandomAccessFile raf, long startingPos) throws IOException
IOExceptionpublic int getBitMapIndicator()
public long getStartingPosition()
@Nullable public byte[] getBitmap(ucar.unidata.io.RandomAccessFile raf) throws IOException
raf - read from hereIOException - on read error