diff options
| author | tylov <[email protected]> | 2023-08-14 10:33:32 +0200 |
|---|---|---|
| committer | tylov <[email protected]> | 2023-08-14 10:33:32 +0200 |
| commit | 2b6b4785c5c26bc47d800c1a7c7a48784df2d57b (patch) | |
| tree | a3eae4bf9e58fac8f1d1eebd3df7ab7e7d6003b3 /docs/csview_api.md | |
| parent | fb5863de1d6ea8a5be8371e57bcd58bf31798a0a (diff) | |
| download | STC-modified-2b6b4785c5c26bc47d800c1a7c7a48784df2d57b.tar.gz STC-modified-2b6b4785c5c26bc47d800c1a7c7a48784df2d57b.zip | |
Some docs updates.
Diffstat (limited to 'docs/csview_api.md')
| -rw-r--r-- | docs/csview_api.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/csview_api.md b/docs/csview_api.md index f7e0e2b0..d28e3ed2 100644 --- a/docs/csview_api.md +++ b/docs/csview_api.md @@ -1,4 +1,4 @@ -# STC [csview](../include/stc/csview.h): String View +# STC [csview](../include/stc/csview.h): Null-terminated UTF8 String View  The type **csview** is a ***null-terminated*** string view and refers to a constant contiguous sequence of @@ -6,9 +6,9 @@ char-elements with the first element of the sequence at position zero. The imple members: a pointer to constant char and a size. See [csubstr](csubstr_api.md) for a ***non null-terminated*** string view/span type. -Because **csview** is null-terminated, it can be a more efficient replacent for `const char*`. It never -allocates memory, and need therefore not be destructed. Its lifetime is limited by the source string -storage. It keeps the length of the string, and does not call *strlen()* when passing it around. +Because **csview** is null-terminated, it can be an efficient replacent for `const char*`. It never +allocates memory, and therefore need not be destructed. Its lifetime is limited by the source string +storage. It keeps the length of the string, i.e. no need to call *strlen()* for various operations. ## Header file |
