public class ByteHelper extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DOUBLE_SIZE |
static int |
INT_SIZE |
static int |
LONG_SIZE |
Constructor and Description |
---|
ByteHelper() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
toBytes(double val) |
static byte[] |
toBytes(int val) |
static byte[] |
toBytes(long val) |
static double |
toDouble(byte[] b) |
static int |
toInteger(byte[] b) |
static long |
toLong(byte[] b) |
public static final int INT_SIZE
public static final int LONG_SIZE
public static final int DOUBLE_SIZE
Copyright © 2022 VanillaDB Organization. All rights reserved.