public static enum NativeConstants.StringSelfDataType extends java.lang.Enum<NativeConstants.StringSelfDataType>
| Enum Constant and Description |
|---|
STRING_EOF
Protocol::RestOfPacketString
If a string is the last component of a packet, its length can be calculated from the overall packet length minus the current position.
|
STRING_LENENC
Protocol::LengthEncodedString
A length encoded string is a string that is prefixed with length encoded integer describing the length of the string.
|
STRING_TERM
Protocol::NulTerminatedString
Strings that are terminated by a [00] byte.
|
| Modifier and Type | Method and Description |
|---|---|
static NativeConstants.StringSelfDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeConstants.StringSelfDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeConstants.StringSelfDataType STRING_TERM
public static final NativeConstants.StringSelfDataType STRING_LENENC
public static final NativeConstants.StringSelfDataType STRING_EOF
public static NativeConstants.StringSelfDataType[] values()
for (NativeConstants.StringSelfDataType c : NativeConstants.StringSelfDataType.values()) System.out.println(c);
public static NativeConstants.StringSelfDataType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null