PiData.Type
Modifier and Type | Method and Description |
---|---|
List<ImmutableByteSequence> |
bitStrings()
Return the header bit strings.
|
boolean |
equals(Object o) |
int |
hashCode() |
Boolean |
isValid()
Return whether the header is valid.
|
static PiHeader |
of(Boolean isValid,
List<ImmutableByteSequence> bitStrings)
Returns a new protocol-independent header.
|
String |
toString() |
PiData.Type |
type()
Returns the type of this protocol-independent data.
|
public static PiHeader of(Boolean isValid, List<ImmutableByteSequence> bitStrings)
isValid
- whether the header is validbitStrings
- bitstringspublic Boolean isValid()
public List<ImmutableByteSequence> bitStrings()
public PiData.Type type()
PiData