| Package | Description |
|---|---|
| com.mysql.cj.protocol.a |
| Modifier and Type | Method and Description |
|---|---|
static NativeConstants.StringSelfDataType |
NativeConstants.StringSelfDataType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeConstants.StringSelfDataType[] |
NativeConstants.StringSelfDataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
NativePacketPayload.readBytes(NativeConstants.StringSelfDataType type)
Read bytes from internal buffer starting from current position into the new byte array.
|
java.lang.String |
NativePacketPayload.readString(NativeConstants.StringSelfDataType type,
java.lang.String encoding)
Read bytes from internal buffer starting from current position decoding them into String using the specified character encoding.
|
void |
NativePacketPayload.skipBytes(NativeConstants.StringSelfDataType type)
Set position to next value in internal buffer skipping the current value according to
NativeConstants.StringSelfDataType. |
void |
NativePacketPayload.writeBytes(NativeConstants.StringSelfDataType type,
byte[] b)
Write all bytes from given byte array into internal buffer starting with current buffer position.
|
void |
NativePacketPayload.writeBytes(NativeConstants.StringSelfDataType type,
byte[] b,
int offset,
int len)
Write len bytes from given byte array into internal buffer.
|