• Encode a character into a unicode code point

    Parameters

    • from: string

      The string to get the character from.

    • offset: number = 0

      The offset of the character to encode.

    Returns EncodedUnicodeCharacter

    The encoded character number.