Package com.mchange.lang
Class CharUtils
- java.lang.Object
-
- com.mchange.lang.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)
-
-
-
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)
-
-