public final class DataType
extends chat.dim.type.UInt8Data
| Modifier and Type | Field and Description |
|---|---|
static DataType |
COMMAND |
static DataType |
COMMAND_RESPONSE |
static DataType |
MESSAGE |
static DataType |
MESSAGE_FRAGMENT |
static DataType |
MESSAGE_RESPONSE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(int other) |
boolean |
equals(java.lang.Object other) |
static DataType |
from(byte value) |
static DataType |
from(chat.dim.type.ByteArray data) |
static DataType |
from(int value) |
static DataType |
from(chat.dim.type.UInt8Data ui8) |
boolean |
isCommand() |
boolean |
isCommandResponse() |
boolean |
isFragment() |
boolean |
isMessage() |
boolean |
isMessageFragment() |
boolean |
isMessageResponse() |
boolean |
isResponse() |
java.lang.String |
toString() |
from, from, getByteValue, getIntValue, getLongValue, hashCodeclone, concat, concat, equals, equals, equals, find, find, find, find, find, find, find, find, find, find, find, find, getBuffer, getByte, getBytes, getBytes, getBytes, getOffset, getSize, mutableCopy, random, slice, slice, toHexStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetInt16Value, getInt16Value, getInt32Value, getInt32Value, getUInt16Data, getUInt16Data, getUInt16Data, getUInt16Value, getUInt16Value, getUInt32Data, getUInt32Data, getUInt32Data, getUInt32Value, getUInt32Value, getValue, getValue, getValue, getValue, setValue, setValue, setValue, setValueadjust, adjustE, concat, concat, concat, concat, equals, equals, equals, find, find, find, find, find, find, find, find, find, find, find, find, find, find, getBuffer, getByte, getBytes, getBytes, getBytes, getOffset, getSize, hexEncode, slice, slice, slice, slice, toHexStringpublic static final DataType COMMAND
public static final DataType COMMAND_RESPONSE
public static final DataType MESSAGE
public static final DataType MESSAGE_RESPONSE
public static final DataType MESSAGE_FRAGMENT
public boolean isResponse()
public boolean isFragment()
public boolean isCommand()
public boolean isCommandResponse()
public boolean isMessage()
public boolean isMessageResponse()
public boolean isMessageFragment()
public boolean equals(java.lang.Object other)
equals in class chat.dim.type.UInt8Datapublic boolean equals(int other)
public java.lang.String toString()
toString in class chat.dim.type.UInt8Datapublic static DataType from(chat.dim.type.UInt8Data ui8)
public static DataType from(chat.dim.type.ByteArray data)
public static DataType from(byte value)
public static DataType from(int value)