Interface ICodePage

    • Method Summary

      Modifier and Type Method Description
      char ebcdic2uni​(int index)
      Convert a single byte (or maybe more bytes which representing one character) to a Unicode character.
      byte uni2ebcdic​(char index)
      Convert a Unicode character in it's byte representation.
    • Method Detail

      • ebcdic2uni

        char ebcdic2uni​(int index)
        Convert a single byte (or maybe more bytes which representing one character) to a Unicode character.
        Parameters:
        index - a byte
        Returns:
        a character
      • uni2ebcdic

        byte uni2ebcdic​(char index)
        Convert a Unicode character in it's byte representation. Therefore, only 8bit codepages are supported.
        Parameters:
        index - a character
        Returns:
        a byte