|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.reporting.protocol.runtime.BytesBuffer
public class BytesBuffer
Constructor Summary | |
---|---|
BytesBuffer(byte[] buff,
int p)
Deprecated. |
|
BytesBuffer(byte[] buff,
int p,
java.nio.charset.Charset charset)
Constructor. |
Method Summary | |
---|---|
byte |
getByte()
|
byte[] |
getBytes()
|
char |
getChar()
Get char and shift pointer. |
java.nio.charset.Charset |
getCharset()
|
ConnectionId |
getConnectionId()
|
int |
getDWord()
Get int (ulong in c++) and to shift pointer on 4 pos`s (GET_ULONG). |
int |
getPointer()
|
java.lang.String |
getString()
Get string and shift pointer. |
KeyValueCollection |
getUserData()
Get user`s TKVList (GET_USER_DATA) and shift pointer. |
int |
getWord()
Get short (ushort in C++) value and to shift pointer on 2 pos`s (GET_USHORT). |
boolean |
isEmpty()
|
boolean |
isNull()
|
void |
setCharset(java.nio.charset.Charset charset)
|
void |
setPointer(int i)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public BytesBuffer(byte[] buff, int p)
buff
- bytes arrayp
- shift index from first byte of arrayBytesBuffer(byte[], int, Charset)
public BytesBuffer(byte[] buff, int p, java.nio.charset.Charset charset)
buff
- bytes arrayp
- shift index from first byte of arraycharset
- charset for string valuesMethod Detail |
---|
public boolean isEmpty()
public boolean isNull()
public java.nio.charset.Charset getCharset()
public void setCharset(java.nio.charset.Charset charset)
public byte[] getBytes()
public int getPointer()
public void setPointer(int i)
public byte getByte()
public int getWord()
public int getDWord()
public ConnectionId getConnectionId()
public KeyValueCollection getUserData()
public java.lang.String getString()
public char getChar()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |