public final class Packets extends Object
WARNING: do NOT use it outer than r2dbc-mysql.
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPRESS_HEADER_SIZE
The header size of a compression frame, which includes entire frame size (unsigned int24), compression
sequence id (unsigned int8) and compressed size (unsigned int24).
|
static int |
MAX_PAYLOAD_SIZE
The max bytes size of payload, value is 16777215.
|
static int |
NORMAL_HEADER_SIZE
The header size of a normal frame, which includes entire frame size (unsigned int24) and normal
sequence id (unsigned int8).
|
static int |
SIZE_FIELD_SIZE
The length of the byte size field, it is 3 bytes.
|
static byte |
TERMINAL
The terminal of C-style string or C-style binary data.
|
public static final int SIZE_FIELD_SIZE
public static final int MAX_PAYLOAD_SIZE
public static final int COMPRESS_HEADER_SIZE
public static final int NORMAL_HEADER_SIZE
public static final byte TERMINAL
Copyright © 2018–2024 asyncer.io. All rights reserved.