public static enum StringDataEncoding.SizeType extends Enum<StringDataEncoding.SizeType>
| Enum Constant and Description |
|---|
CUSTOM
DataEncoding.getFromBinaryTransformAlgorithm() will be used to decode the data |
FIXED
fixed size has to be specified in the
DataEncoding.getSizeInBits() |
LEADING_SIZE
Like PASCAL strings, the size of the string is given as an integer at the start of the string.
|
TERMINATION_CHAR
Like C strings, they are terminated with a special string, usually a null character.
|
| Modifier and Type | Method and Description |
|---|---|
static StringDataEncoding.SizeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringDataEncoding.SizeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringDataEncoding.SizeType FIXED
DataEncoding.getSizeInBits()public static final StringDataEncoding.SizeType TERMINATION_CHAR
public static final StringDataEncoding.SizeType LEADING_SIZE
public static final StringDataEncoding.SizeType CUSTOM
DataEncoding.getFromBinaryTransformAlgorithm() will be used to decode the datapublic static StringDataEncoding.SizeType[] values()
for (StringDataEncoding.SizeType c : StringDataEncoding.SizeType.values()) System.out.println(c);
public static StringDataEncoding.SizeType 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 nullCopyright © 2020 Space Applications Services. All rights reserved.