public final class PrimitiveBERTLV extends BERTLV
FLAG_FF_IS_VALID_FOR_THE_TAG_FIRST_BYTE| Modifier and Type | Method and Description |
|---|---|
com.neurotec.io.NBuffer |
getValue()
Gets the value field of a primitive BER-TLV.
|
boolean |
getValueAsBoolean()
Retrieves the value field of a primitive BER-TLV as Boolean.
|
byte |
getValueAsByte()
Retrieves the value field of a primitive BER-TLV as Byte.
|
int |
getValueAsInt()
Retrieves the value field of a primitive BER-TLV as Int32.
|
int |
getValueAsInteger()
Retrieves the value field of a primitive BER-TLV as integer.
|
short |
getValueAsShort()
Retrieves the value field of a primitive BER-TLV as UInt16.
|
static com.neurotec.lang.NType |
nativeTypeOf()
Retrieves a function which retrieves NType object for the enclosing type.
|
void |
setValue(boolean value)
Sets the value field of a primitive BER-TLV as a Boolean and updates the length field and the size of a BER-TLV respectively.
|
void |
setValue(byte value)
Sets the value field of a primitive BER-TLV as a SByte and updates the length field and the size of a BER-TLV respectively.
|
void |
setValue(int value)
Sets the value field of a primitive BER-TLV as a Int32 and updates the length field and the size of a BER-TLV respectively.
|
void |
setValue(com.neurotec.io.NBuffer value)
Sets the value field of a primitive BER-TLV as a byte buffer and updates the length field and the size of a BER-TLV respectively.
|
void |
setValue(short value)
Sets the value field of a primitive BER-TLV as a Int16 and updates the length field and the size of a BER-TLV respectively.
|
void |
setValueAsInteger(int value)
Sets the value field of a primitive BER-TLV as integer.
|
create, create, fromMemory, fromMemory, fromMemory, fromMemory, getLength, getMinLengthSize, getOwner, getTag, loadMany, loadMany, loadMany, loadMany, setMinLengthSizeaddListener, addPropertyChangeListener, captureProperties, claimHandle, clone, compareTo, copyProperties, dispose, disposeArray, equals, fromHandle, fromHandle, fromObject, getFlags, getHandle, getNativeType, getProperty, getProperty, getSize, getSize, getSizeMany, getSizeMany, hashCode, invoke, invoke, invoke, isDisposed, nObjectCallbackNativeTypeOf, nObjectPropertyChangedCallbackNativeTypeOf, ref, removeListener, removePropertyChangeListener, reset, resetProperty, save, save, save, save, save, save, save, save, save, save, save, save, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, saveMany, setFlags, setProperty, setProperty, toHandle, toObject, toString, toString, unref, unrefArray, unrefElementspublic static com.neurotec.lang.NType nativeTypeOf()
public com.neurotec.io.NBuffer getValue()
public boolean getValueAsBoolean()
public int getValueAsInteger()
public byte getValueAsByte()
public short getValueAsShort()
public int getValueAsInt()
public void setValue(com.neurotec.io.NBuffer value)
value - Byte buffer with the value field of a primitive BER-TLV.value - True if copy is required; else false.public void setValue(boolean value)
value - The primitive BER-TLV value field.public void setValueAsInteger(int value)
value - The field value of a primitive BER-TLV.public void setValue(byte value)
value - The primitive BER-TLV value field.public void setValue(short value)
value - The primitive BER-TLV value field.public void setValue(int value)
value - The primitive BER-TLV value field.Copyright © 2016 Neurotechnology. All rights reserved.