Download Now

    Reference Codebot.Text.pas

    Part of the Codebot package

    The Codebot.Text unit provides routines for working with text and its encodings. The Unicode routines step through the UTF-8 characters of a string, count them, and convert a character code to a string. TBuffer is a managed block of memory, and TBufferStream reads a buffer as a stream. The encoding routines convert memory, buffers, and strings to and from hexadecimal and base64.

    Items 31 items

    NameKindLine
    Base64Decodefunction149
    Base64Encodefunction143, 145, 147
    HexDecodefunction140
    HexEncodefunction134, 136, 138
    TBufferrecord66
    Createfunction77
    Encodefunction81
    Implicitoperator79
    LoadFromFileprocedure83
    LoadFromStreamprocedure85
    SaveToFileprocedure87
    SaveToStreamprocedure89
    AsBase64property101
    AsHexproperty99
    AsStringproperty97
    Dataproperty93
    Sizeproperty95
    TBufferStreamclass108
    Createconstructor120
    Readfunction122
    SaveToFileprocedure130
    SaveToStreamprocedure128
    Seekfunction126
    Writefunction124
    TEncodeMethodenum48
    encodeHexenum value48
    encodeBase64enum value48
    UnicodeLengthfunction39
    UnicodeParsefunction35
    UnicodeToCharfunction37
    UnicodeToStrfunction41