There are basically two core conversion methods (GetBytes and Getchars), four characters/bytes counting methods, a method to define the BOM or preamble, and a class function used to return a singleton instance, saved in the class variable. Only the two conversion methods are complex, while for everything else all you have to keep in mind is you take 4 bytes, that is sizeOf(UCS4char), for each character. Here are the methods except the conversion ones, which are covered later in more detail: class function TUTF32Encoding.Encoding: TEncoding;
Was this article helpful?
What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.