Class CharUtils


  • public final class CharUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] byteArrayFromChar​(char i)  
      static int charFromByteArray​(byte[] bytes, int offset)  
      static void charIntoByteArray​(int i, int offset, byte[] bytes)  
      static char[] fromHexAscii​(java.lang.String s)  
      static java.lang.String toHexAscii​(char c)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • charFromByteArray

        public static int charFromByteArray​(byte[] bytes,
                                            int offset)
      • byteArrayFromChar

        public static byte[] byteArrayFromChar​(char i)
      • charIntoByteArray

        public static void charIntoByteArray​(int i,
                                             int offset,
                                             byte[] bytes)
      • toHexAscii

        public static java.lang.String toHexAscii​(char c)
      • fromHexAscii

        public static char[] fromHexAscii​(java.lang.String s)