Static Public Member Functions | |
static int | getZeroTerminatedByteLength (byte[] bytes, int offset) throws IndexOutOfBoundsException |
static int | getByteLength (char[] chars) |
static int | getByteLength (char[] chars, int offset, int length) |
static int | getCharLength (byte[] bytes) throws IllegalArgumentException, IndexOutOfBoundsException |
static int | getCharLength (byte[] bytes, int offset, int length) throws IllegalArgumentException, IndexOutOfBoundsException |
static int | bytesToChars (byte[] bytes, int byteOffset, char[] chars, int charOffset, int len, boolean isByteLen) throws IllegalArgumentException, IndexOutOfBoundsException |
static void | charsToBytes (char[] chars, int charOffset, byte[] bytes, int byteOffset, int charLength) |
static String | bytesToString (byte[] bytes, int offset, int length) throws IllegalArgumentException, IndexOutOfBoundsException |
static byte[] | stringToBytes (String string) |
Definition at line 18 of file UtfOps.java.
|
Converts byte arrays into character arrays.
Definition at line 168 of file UtfOps.java. |
|
Converts byte arrays into strings.
Definition at line 256 of file UtfOps.java. |
|
Converts character arrays into byte arrays.
Definition at line 219 of file UtfOps.java. |
|
Returns the byte length of the UTF string that would be created by converting the given characters to UTF.
Definition at line 70 of file UtfOps.java. |
|
Returns the byte length of the UTF string that would be created by converting the given characters to UTF.
Definition at line 53 of file UtfOps.java. |
|
Returns the number of characters represented by the given UTF string.
Definition at line 121 of file UtfOps.java. |
|
Returns the number of characters represented by the given UTF string.
Definition at line 100 of file UtfOps.java. |
|
Returns the byte length of a null terminated UTF string, not including the terminator.
Definition at line 35 of file UtfOps.java. |
|
Converts strings to byte arrays.
Definition at line 273 of file UtfOps.java. |