public class BufferUtils extends Object
| Constructor and Description |
|---|
BufferUtils() |
| Modifier and Type | Method and Description |
|---|---|
static io.netty.buffer.ByteBuf |
readLengthEncodedBuffer(io.netty.buffer.ByteBuf buf) |
static long |
readLengthEncodedInt(io.netty.buffer.ByteBuf buf) |
static String |
readLengthEncodedString(io.netty.buffer.ByteBuf buf) |
static void |
skipLengthEncode(io.netty.buffer.ByteBuf buf) |
static io.netty.buffer.ByteBuf |
write(io.netty.buffer.ByteBuf buf,
String str,
boolean quote,
org.mariadb.r2dbc.client.Context context) |
static void |
writeAscii(io.netty.buffer.ByteBuf buf,
String str) |
static void |
writeEscaped(io.netty.buffer.ByteBuf buf,
byte[] bytes,
int offset,
int len,
org.mariadb.r2dbc.client.Context context) |
static void |
writeLengthEncode(int length,
io.netty.buffer.ByteBuf buf) |
static void |
writeLengthEncode(String val,
io.netty.buffer.ByteBuf buf) |
public static void skipLengthEncode(io.netty.buffer.ByteBuf buf)
public static long readLengthEncodedInt(io.netty.buffer.ByteBuf buf)
public static String readLengthEncodedString(io.netty.buffer.ByteBuf buf)
public static io.netty.buffer.ByteBuf readLengthEncodedBuffer(io.netty.buffer.ByteBuf buf)
public static void writeLengthEncode(int length,
io.netty.buffer.ByteBuf buf)
public static void writeLengthEncode(String val, io.netty.buffer.ByteBuf buf)
public static void writeAscii(io.netty.buffer.ByteBuf buf,
String str)
public static void writeEscaped(io.netty.buffer.ByteBuf buf,
byte[] bytes,
int offset,
int len,
org.mariadb.r2dbc.client.Context context)
public static io.netty.buffer.ByteBuf write(io.netty.buffer.ByteBuf buf,
String str,
boolean quote,
org.mariadb.r2dbc.client.Context context)
Copyright © 2020 MariaDB Corporation Ab. All rights reserved.