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