public class ByteUtil extends Object
Modifier and Type | Field and Description |
---|---|
protected static char[] |
hexArray |
Constructor and Description |
---|
ByteUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
bytesToHex(byte[] bytes) |
static String |
bytesToHex(byte[] bytes,
int groupSize) |
static void |
debugFrame(org.jboss.logging.Logger logger,
String message,
io.netty.buffer.ByteBuf byteIn) |
static String |
formatGroup(String str,
int groupSize,
int lineBreak) |
static byte[] |
hexStringToByteArray(String s) |
static byte[] |
longToBytes(long x) |
static String |
maxString(String value,
int size) |
public static void debugFrame(org.jboss.logging.Logger logger, String message, io.netty.buffer.ByteBuf byteIn)
public static String bytesToHex(byte[] bytes)
public static byte[] hexStringToByteArray(String s)
public static byte[] longToBytes(long x)
public static String bytesToHex(byte[] bytes, int groupSize)
Copyright © 2016 The Apache Software Foundation. All rights reserved.