public class TCHAR
extends java.lang.Object
Note that unicode characters which can not be found in the platform encoding will be converted to an arbitrary platform specific character.
Modifier and Type | Field and Description |
---|---|
(package private) int |
byteCount |
byte[] |
bytes |
char[] |
chars |
(package private) int |
codePage |
static int |
sizeof |
Constructor and Description |
---|
TCHAR(int codePage,
char[] chars,
boolean terminate) |
TCHAR(int codePage,
char ch,
boolean terminate) |
TCHAR(int codePage,
int length) |
TCHAR(int codePage,
java.lang.String string,
boolean terminate) |
int codePage
public char[] chars
public byte[] bytes
int byteCount
public static final int sizeof
public TCHAR(int codePage, int length)
public TCHAR(int codePage, char ch, boolean terminate)
public TCHAR(int codePage, char[] chars, boolean terminate)
public TCHAR(int codePage, java.lang.String string, boolean terminate)
static char[] getChars(java.lang.String string, boolean terminate)
public int length()
public int strlen()
public int tcharAt(int index)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int start, int length)