Class StringUtils


  • public final class StringUtils
    extends Object
    • Method Detail

      • byteBuffer2ByteArray

        public static byte[] byteBuffer2ByteArray​(ByteBuffer bb)
      • charSequence2Bytes

        public static byte[] charSequence2Bytes​(CharSequence sb,
                                                Charset charset)
      • toHexString

        public static String toHexString​(byte[] data)
      • appendBase16

        public static void appendBase16​(StringBuilder buf,
                                        byte[] bytes)