Convpublic class Conv extends Object Character conversion base class |
Methods Summary |
---|
static native int | byteToChar(int handler, byte[] input, int in_offset, int in_len, char[] output, int out_offset, int out_len)Native function to convert an array of bytes to
converted array of characters.
| static native int | charToByte(int handler, char[] input, int in_offset, int in_len, byte[] output, int out_offset, int out_len)Native function to convert an array of characters
to an array of converted characters.
| static native int | getByteLength(int handler, byte[] b, int offset, int len)Get the length of a specific converted string.
| static native int | getHandler(java.lang.String encoding)Native method to get a handle to specific character
encoding convesrion routine.
| static native int | getMaxByteLength(int handler)Native function to set the maximum length in bytes
for a converted string.
| static native int | sizeOfByteInUnicode(int handler, byte[] b, int offset, int length)Native function to get the length of a specific
converted string as an array of Unicode bytes.
| static native int | sizeOfUnicodeInByte(int handler, char[] c, int offset, int length)Native function to get the length of a specific
converted string as an array of Unicode characters.
|
|