public class NBSHeader extends Header
| Constructor and Description |
|---|
NBSHeader(com.google.common.io.LittleEndianDataInputStream dis) |
NBSHeader(short length,
byte nbsVersion,
byte vanillaInstrumentCount) |
| Modifier and Type | Method and Description |
|---|---|
short |
getLength()
Can be -1 if the nbsVersion did not support this field
|
byte |
getNbsVersion() |
byte |
getVanillaInstrumentCount() |
void |
setLength(short length) |
void |
setNbsVersion(byte nbsVersion) |
void |
setVanillaInstrumentCount(byte vanillaInstrumentCount) |
public NBSHeader(com.google.common.io.LittleEndianDataInputStream dis)
throws java.io.IOException
java.io.IOExceptionpublic NBSHeader(short length,
byte nbsVersion,
byte vanillaInstrumentCount)
public void setLength(short length)
public short getLength()
public void setNbsVersion(byte nbsVersion)
public byte getNbsVersion()
public void setVanillaInstrumentCount(byte vanillaInstrumentCount)
public byte getVanillaInstrumentCount()