protected static enum FrameBuilderDraft06.PayloadLengthType extends Enum<FrameBuilderDraft06.PayloadLengthType>
| Enum Constant and Description |
|---|
LEN_16
The LEN_16.
|
LEN_63
The LEN_63.
|
LEN_SHORT
The LEN_SHORT.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue()
Byte value.
|
int |
offset()
Offset.
|
static FrameBuilderDraft06.PayloadLengthType |
valueOf(byte plt)
Value of.
|
static FrameBuilderDraft06.PayloadLengthType |
valueOf(long payloadLength)
Value of.
|
static FrameBuilderDraft06.PayloadLengthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameBuilderDraft06.PayloadLengthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameBuilderDraft06.PayloadLengthType LEN_SHORT
public static final FrameBuilderDraft06.PayloadLengthType LEN_16
public static final FrameBuilderDraft06.PayloadLengthType LEN_63
public static FrameBuilderDraft06.PayloadLengthType[] values()
for (FrameBuilderDraft06.PayloadLengthType c : FrameBuilderDraft06.PayloadLengthType.values()) System.out.println(c);
public static FrameBuilderDraft06.PayloadLengthType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte byteValue()
public int offset()
public static FrameBuilderDraft06.PayloadLengthType valueOf(byte plt)
plt - the pltpublic static FrameBuilderDraft06.PayloadLengthType valueOf(long payloadLength)
payloadLength - the payload lengthCopyright © 2021. All rights reserved.