public final class RadiotapDataMcs extends Object implements RadiotapPacket.RadiotapData
Modifier and Type | Class and Description |
---|---|
static class |
RadiotapDataMcs.Bandwidth |
static class |
RadiotapDataMcs.Builder |
static class |
RadiotapDataMcs.HtFormat |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
RadiotapDataMcs.Bandwidth |
getBandwidth() |
RadiotapDataMcs.Builder |
getBuilder() |
RadiotapFecType |
getFecType() |
RadiotapDataMcs.HtFormat |
getHtFormat() |
byte |
getMcsRateIndex() |
int |
getMcsRateIndexAsInt() |
boolean |
getNessLsb() |
boolean |
getNessMsb() |
byte |
getNumStbcStreams() |
int |
getNumStbcStreamsAsInt() |
byte[] |
getRawData() |
int |
hashCode() |
boolean |
isBandwidthKnown() |
boolean |
isFecTypeKnown() |
boolean |
isGuardIntervalKnown() |
boolean |
isHtFormatKnown() |
boolean |
isMcsIndexKnown() |
boolean |
isNessKnown() |
boolean |
isShortGuardInterval() |
boolean |
isStbcKnown() |
int |
length() |
static RadiotapDataMcs |
newInstance(byte[] rawData,
int offset,
int length)
A static factory method.
|
String |
toString() |
String |
toString(String indent) |
public static RadiotapDataMcs newInstance(byte[] rawData, int offset, int length) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int)
,
which may throw exceptions undocumented here.rawData
- rawDataoffset
- offsetlength
- lengthIllegalRawDataException
- if parsing the raw data fails.public boolean isBandwidthKnown()
public boolean isMcsIndexKnown()
public boolean isGuardIntervalKnown()
public boolean isHtFormatKnown()
public boolean isFecTypeKnown()
public boolean isStbcKnown()
public boolean isNessKnown()
public boolean getNessMsb()
public RadiotapDataMcs.Bandwidth getBandwidth()
public boolean isShortGuardInterval()
public RadiotapDataMcs.HtFormat getHtFormat()
public RadiotapFecType getFecType()
public byte getNumStbcStreams()
public int getNumStbcStreamsAsInt()
public boolean getNessLsb()
public byte getMcsRateIndex()
public int getMcsRateIndexAsInt()
public int length()
length
in interface RadiotapPacket.RadiotapData
public byte[] getRawData()
getRawData
in interface RadiotapPacket.RadiotapData
public RadiotapDataMcs.Builder getBuilder()
public String toString(String indent)
toString
in interface RadiotapPacket.RadiotapData
indent
- indentCopyright © 2011–2017 Pcap4J.org. All rights reserved.