| Enum Constant and Description |
|---|
DEFINITE
The length of the value is encoded within the TLV itself
|
INDEFINITE
The length of the value is indicated by the presence of a pair of end-of-contents octets (ie two null bytes)
|
| Modifier and Type | Method and Description |
|---|---|
static BERlength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BERlength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BERlength DEFINITE
public static final BERlength INDEFINITE
public static BERlength[] values()
for (BERlength c : BERlength.values()) System.out.println(c);
public static BERlength 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