Class TCHAR

java.lang.Object
org.eclipse.swt.internal.win32.TCHAR

public class TCHAR extends Object
This class implements the conversions between unicode characters and the platform supported representation for characters.

Note that unicode characters which can not be found in the platform encoding will be converted to an arbitrary platform specific character.

  • Field Details

    • chars

      public char[] chars
    • bytes

      public byte[] bytes
    • sizeof

      public static final int sizeof
      See Also:
  • Constructor Details

    • TCHAR

      public TCHAR(int codePage, int length)
    • TCHAR

      public TCHAR(int codePage, char ch, boolean terminate)
    • TCHAR

      public TCHAR(int codePage, char[] chars, boolean terminate)
    • TCHAR

      public TCHAR(int codePage, String string, boolean terminate)
  • Method Details

    • clear

      public void clear()
    • length

      public int length()
    • strlen

      public int strlen()
    • tcharAt

      public int tcharAt(int index)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public String toString(int start, int length)