public class ByteUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NON_ASCII_STRING |
Constructor and Description |
---|
ByteUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
bytesToHex(byte[] bytes,
int groupSize) |
static byte[] |
longToBytes(long x) |
static String |
maxString(String value,
int size) |
static String |
readLine(ActiveMQBuffer buffer) |
static String |
toSimpleString(byte[] bytes) |
public static final String NON_ASCII_STRING
public static String bytesToHex(byte[] bytes, int groupSize)
public static String toSimpleString(byte[] bytes)
public static byte[] longToBytes(long x)
public static String readLine(ActiveMQBuffer buffer)
Copyright © 2016 JBoss by Red Hat. All rights reserved.