public interface SourceType
It is important that the length is word aligned (16bits, 2bytes). If necessary a null byte must be appended.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getLength()
Get the full length required in the buffer
|
Variant |
getValue(int localOffset,
org.apache.mina.core.buffer.IoBuffer value)
parse the value to write from a write request
|
int |
hashCode() |
void |
render(org.apache.mina.core.buffer.IoBuffer buffer,
int offset,
DataItemValue value) |
void render(org.apache.mina.core.buffer.IoBuffer buffer, int offset, DataItemValue value)
int getLength()
Variant getValue(int localOffset, org.apache.mina.core.buffer.IoBuffer value)
localOffset
- the local offset were the write was placed inside the data
type structurevalue
- the value to write, or null
if the value cannot
be writtennull