Package ucar.nc2.iosp.bufr
Class BitCounterUncompressed
- java.lang.Object
-
- ucar.nc2.iosp.bufr.BitCounterUncompressed
-
- All Implemented Interfaces:
BitCounter
public class BitCounterUncompressed extends Object implements BitCounter
Counts the size of nested tables, for uncompressed messages. A top-level BitCounterUncompressed counts bits for one row = obs = dataset. obs = new BitCounterUncompressed(root, 1, 0);- Since:
- May 10, 2008
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCountBits()
BitCounterUncompressed[]
getNested(DataDescriptor subKey)
int
getNumberRows()
int
getOffset(DataDescriptor dkey)
int
getStartBit(int row)
void
setBitOffset(DataDescriptor dkey)
void
toString(Formatter f, Indent indent)
-
-
-
Method Detail
-
setBitOffset
public void setBitOffset(DataDescriptor dkey)
-
getOffset
public int getOffset(DataDescriptor dkey)
-
getNested
public BitCounterUncompressed[] getNested(DataDescriptor subKey)
-
getCountBits
public int getCountBits()
-
getNumberRows
public int getNumberRows()
- Specified by:
getNumberRows
in interfaceBitCounter
-
getStartBit
public int getStartBit(int row)
-
-