public class SbeUtil
extends java.lang.Object
SbeStatsInitializationReport
and SbeStatsReport
Modifier and Type | Field and Description |
---|---|
static byte[] |
EMPTY_BYTES |
static java.nio.charset.Charset |
UTF8 |
Modifier and Type | Method and Description |
---|---|
static java.io.Serializable |
fromBytesSerializable(byte[] bytes) |
static int |
length(byte[] bytes) |
static int |
length(byte[][] bytes) |
static int |
length(byte[][][] bytes) |
static int |
length(java.lang.String str) |
static int |
length(java.lang.String[] arr) |
static byte[] |
toBytes(boolean present,
java.lang.String str) |
static byte[][] |
toBytes(boolean present,
java.lang.String[] str) |
static byte[][][] |
toBytes(java.util.Map<java.lang.String,java.lang.String> map) |
static byte[] |
toBytesSerializable(java.io.Serializable serializable) |
public static final java.nio.charset.Charset UTF8
public static final byte[] EMPTY_BYTES
public static int length(byte[] bytes)
public static int length(byte[][] bytes)
public static int length(byte[][][] bytes)
public static int length(java.lang.String str)
public static int length(java.lang.String[] arr)
public static byte[] toBytes(boolean present, java.lang.String str)
public static byte[][] toBytes(boolean present, java.lang.String[] str)
public static byte[][][] toBytes(java.util.Map<java.lang.String,java.lang.String> map)
public static byte[] toBytesSerializable(java.io.Serializable serializable)
public static java.io.Serializable fromBytesSerializable(byte[] bytes)