| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | |
| public static byte[] | |
| public static void | |
| public static int | Returns: the length (>0), 0 for a length-prefixed type, or -1 for unknowntype type)Get the length of a binary-encoded value of the given type. |
| NativeUtils | back to summary |
|---|---|
| private NativeUtils() | |
| decodeMysqlThreeByteInteger | back to summary |
|---|---|
| public static int decodeMysqlThreeByteInteger(byte[] b) | |
| decodeMysqlThreeByteInteger | back to summary |
|---|---|
| public static int decodeMysqlThreeByteInteger(byte[] b, int offset) | |
| encodeMysqlThreeByteInteger | back to summary |
|---|---|
| public static byte[] encodeMysqlThreeByteInteger(int i) | |
| encodeMysqlThreeByteInteger | back to summary |
|---|---|
| public static void encodeMysqlThreeByteInteger(int i, byte[] b, int offset) | |
| getBinaryEncodedLength | back to summary |
|---|---|
| public static int getBinaryEncodedLength(int type) Get the length of a binary-encoded value of the given type.
| |