public final class StringUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
appendBase16(java.lang.StringBuilder buf,
byte[] bytes) |
static byte[] |
byteBuffer2ByteArray(java.nio.ByteBuffer bb) |
static java.nio.ByteBuffer |
charSequence2ByteBuffer(java.lang.CharSequence cs,
java.nio.charset.Charset charset) |
static byte[] |
charSequence2Bytes(java.lang.CharSequence sb,
java.nio.charset.Charset charset) |
static java.lang.String |
toHexString(byte[] data) |
public static java.nio.ByteBuffer charSequence2ByteBuffer(java.lang.CharSequence cs, java.nio.charset.Charset charset)
public static byte[] byteBuffer2ByteArray(java.nio.ByteBuffer bb)
public static byte[] charSequence2Bytes(java.lang.CharSequence sb, java.nio.charset.Charset charset)
public static java.lang.String toHexString(byte[] data)
public static void appendBase16(java.lang.StringBuilder buf, byte[] bytes)
Copyright © 2017. All Rights Reserved.