Quantum 3
3.0.9
Base class for DSL-generated variable QString(N) fields. QStringUtf8 supports UTF-8. N represents the total size of the string in bytes minus 2 bytes used for bookkeeping. In other words QString(64) will use 64 bytes for a string with a max byte length of 62 bytes, i.e. up to 32 UTF-8 characters. More...
Static Public Member Functions | |
| static unsafe bool | AreEqual< T > (in T qstr, object other) |
| static bool | CanHold (string str, int maxByteCount) |
| static int | CompareOrdinal< T > (in T qstr, byte *bytes, ushort byteCount) |
| static int | CompareOrdinal< T > (in T qstr, string str) |
| static int | CompareOrdinal< T, U > (in T qstr1, in U qstr2) |
| static void | ConstructFrom< T > (string str, int maxByteCount, out T qstr) |
| static void | ConstructNoByteCountCheck< T > (string str, int characterCount, int maxByteCount, out T qstr) |
| static int | GetFittingCharacterCount (string str, int maxByteCount) |
| static int | GetFittingCharacterCount (string str, int maxByteCount, out int actualByteCount) |
| static int | GetLength< T > (in T qstr) |
| static string | GetString< T > (in T qstr) |
| static void | Print (void *ptr, FramePrinter printer) |
Static Public Attributes | |
| const string | ByteCountFieldName = nameof(QStringCommonLayout.byteCount) |
| const string | BytesFieldName = nameof(QStringCommonLayout.bytes) |
Base class for DSL-generated variable QString(N) fields. QStringUtf8 supports UTF-8. N represents the total size of the string in bytes minus 2 bytes used for bookkeeping. In other words QString(64) will use 64 bytes for a string with a max byte length of 62 bytes, i.e. up to 32 UTF-8 characters.