public final class RadiotapPresentBitmask
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
RadiotapPresentBitmask.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
byte[] |
getBitmask() |
java.util.ArrayList<RadiotapPresentBitNumber> |
getBitNumbers() |
RadiotapPresentBitmask.Builder |
getBuilder() |
java.lang.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,
java.lang.String namespace)
A static factory method.
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.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, java.lang.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 java.lang.String getNamespace()
public java.util.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 java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
indent - indentpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2011 - 2018 Pcap4J.org. All rights reserved.