| Constructor and Description |
|---|
BitValue(byte start,
byte len) |
BitValue(int start,
int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.Object... values)
Add Elements to List or KeyValue
if param Modulo 2 the Params can be Key,Value
or add all Values to List
|
int |
calcLength(boolean isDynamic,
boolean isLast) |
ByteBuffer |
getBytes(boolean isDynamic) |
BaseItem |
getNewList(boolean keyValue) |
int |
getOrientation() |
java.lang.String |
getProperty() |
byte |
getStart() |
byte |
getType() |
boolean |
isEmpty() |
int |
size()
Size of Item
|
java.lang.String |
toString(ByteConverter converter,
boolean isDynamic) |
java.lang.String |
toString(Converter converter)
Convert Element to String
|
BitValue |
withLenProperty(byte lenType,
java.lang.String property) |
BitValue |
withOrientation(int value) |
BitValue |
withSize(byte len) |
BitValue |
withStart(byte start) |
void |
writeBytes(ByteBuffer buffer,
boolean isDynamic,
boolean lastEntity,
boolean isPrimitive)
Write the Entity to the buffer
|
public BitValue(int start,
int size)
public BitValue(byte start,
byte len)
public byte getStart()
public BitValue withStart(byte start)
public BitValue withSize(byte len)
public BitValue withOrientation(int value)
public int getOrientation()
public java.lang.String getProperty()
public BitValue withLenProperty(byte lenType, java.lang.String property)
public int size()
ByteItempublic boolean isEmpty()
public int calcLength(boolean isDynamic,
boolean isLast)
calcLength in interface ByteItemisDynamic - ByteStream for minimize outputisLast - is the Element is the Last of Grouppublic BaseItem getNewList(boolean keyValue)
getNewList in interface BaseItempublic java.lang.String toString(Converter converter)
BaseItempublic java.lang.String toString(ByteConverter converter, boolean isDynamic)
public ByteBuffer getBytes(boolean isDynamic)
public void writeBytes(ByteBuffer buffer, boolean isDynamic, boolean lastEntity, boolean isPrimitive)
ByteItemwriteBytes in interface ByteItembuffer - for writingisDynamic - dynamic switschlastEntity - is the entity is the last of a listisPrimitive - need the entity no datatyppublic boolean add(java.lang.Object... values)
BaseItem