类的使用
com.mysql.cj.protocol.a.NativeConstants.StringSelfDataType
-
使用NativeConstants.StringSelfDataType的程序包 程序包 说明 com.mysql.cj.protocol.a -
-
com.mysql.cj.protocol.a中NativeConstants.StringSelfDataType的使用
返回NativeConstants.StringSelfDataType的com.mysql.cj.protocol.a中的方法 修饰符和类型 方法 说明 static NativeConstants.StringSelfDataTypeNativeConstants.StringSelfDataType. valueOf(String name)返回带有指定名称的该类型的枚举常量。static NativeConstants.StringSelfDataType[]NativeConstants.StringSelfDataType. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为NativeConstants.StringSelfDataType的com.mysql.cj.protocol.a中的方法 修饰符和类型 方法 说明 byte[]NativePacketPayload. readBytes(NativeConstants.StringSelfDataType type)Read bytes from internal buffer starting from current position into the new byte array.StringNativePacketPayload. readString(NativeConstants.StringSelfDataType type, String encoding)Read bytes from internal buffer starting from current position decoding them into String using the specified character encoding.voidNativePacketPayload. skipBytes(NativeConstants.StringSelfDataType type)Set position to next value in internal buffer skipping the current value according toNativeConstants.StringSelfDataType.voidNativePacketPayload. writeBytes(NativeConstants.StringSelfDataType type, byte[] b)Write all bytes from given byte array into internal buffer starting with current buffer position.voidNativePacketPayload. writeBytes(NativeConstants.StringSelfDataType type, byte[] b, int offset, int len)Write len bytes from given byte array into internal buffer.
-