# CRCString

## Functions

| `CRCString`
| `CRCString`
| `~CRCString`
CRCString & | `operator=`
bool | `operator==`
bool | `operator!=`
bool | `operator`
const crc_char_t * | `utf8`
crc_size_t | `byteCount`
CRCString | `fromUtf8`
CRCString | `fromChar`

## Detailed Description

class `CRCString`

  A simple class for handling strings.

  CRC uses UTF-8 based strings. This class stores strings in UTF-8 format, and provides creation from ASCII char and UTF-8 strings.

  Public Functions

  inline `CRCString`()

    Constructor.

  inline `CRCString`(const CRCString &other)

    Copy constructor.

  inline `~CRCString`()

    Destructor.

  inline CRCString &`operator=`(const CRCString &rhs)

    Assignment operator.

  inline bool `operator==`(const CRCString &rhs) const

    Equality operator.

  inline bool `operator!=`(const CRCString &rhs) const

    Inequality operator.

  inline bool `operator<`(const CRCString &rhs) const

    Check if this string is less than the passed string.

  inline const crc_char_t *`utf8`() const

    Returns a const ptr to the UTF-8 formatted string.

  inline crc_size_t `byteCount`() const

    Returns the number of bytes (length) of the string.

  Public Static Functions

  static inline CRCString `fromUtf8`(const crc_char_t *utf8Ptr)

    Returns a string created from an UTF-8 array.

  static inline CRCString `fromChar`(const crc_char_t *charPtr)

    Returns a string created from an ASCII (char) string.

    Any ASCII value above 127 will be encoded to UTF-8

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...