public final class RadiotapPresentBitmask extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
RadiotapPresentBitmask.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getBitmask() |
ArrayList<RadiotapPresentBitNumber> |
getBitNumbers() |
RadiotapPresentBitmask.Builder |
getBuilder() |
String |
getNamespace() |
byte[] |
getRawData() |
int |
hashCode() |
boolean |
isAnotherBitmapFollows() |
boolean |
isRadiotapNamespaceNext() |
boolean |
isVendorNamespaceNext() |
int |
length() |
static RadiotapPresentBitmask |
newInstance(byte[] rawData,
int offset,
int length,
int bitNumOffset)
A static factory method.
|
static RadiotapPresentBitmask |
newInstance(byte[] rawData,
int offset,
int length,
int bitNumOffset,
String namespace)
A static factory method.
|
String |
toString() |
String |
toString(String indent) |
public static RadiotapPresentBitmask newInstance(byte[] rawData, int offset, int length, int bitNumOffset) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthbitNumOffset - bitNumOffsetIllegalRawDataException - if parsing the raw data fails.public static RadiotapPresentBitmask newInstance(byte[] rawData, int offset, int length, int bitNumOffset, String namespace) throws IllegalRawDataException
ByteArrays.validateBounds(byte[], int, int),
which may throw exceptions undocumented here.rawData - rawDataoffset - offsetlength - lengthbitNumOffset - bitNumOffsetnamespace - namespaceIllegalRawDataException - if parsing the raw data fails.public String getNamespace()
public ArrayList<RadiotapPresentBitNumber> getBitNumbers()
public boolean isRadiotapNamespaceNext()
public boolean isVendorNamespaceNext()
public boolean isAnotherBitmapFollows()
public byte[] getBitmask()
public int length()
public byte[] getRawData()
public RadiotapPresentBitmask.Builder getBuilder()
public String toString(String indent)
indent - indentCopyright © 2011–2016 Pcap4J.org. All rights reserved.