public class SbeUtil extends Object
SbeStatsInitializationReport and SbeStatsReport| Modifier and Type | Field and Description |
|---|---|
static byte[] |
EMPTY_BYTES |
static Charset |
UTF8 |
| Modifier and Type | Method and Description |
|---|---|
static Serializable |
fromBytesSerializable(byte[] bytes) |
static int |
length(byte[] bytes) |
static int |
length(byte[][] bytes) |
static int |
length(byte[][][] bytes) |
static int |
length(String str) |
static int |
length(String[] arr) |
static byte[] |
toBytes(boolean present,
String str) |
static byte[][] |
toBytes(boolean present,
String[] str) |
static byte[][][] |
toBytes(Map<String,String> map) |
static byte[] |
toBytesSerializable(Serializable serializable) |
public static final 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(String str)
public static int length(String[] arr)
public static byte[] toBytes(boolean present,
String str)
public static byte[][] toBytes(boolean present,
String[] str)
public static byte[] toBytesSerializable(Serializable serializable)
public static Serializable fromBytesSerializable(byte[] bytes)
Copyright © 2019. All rights reserved.