Luanti 5.18.0-dev
Loading...
Searching...
No Matches
stream.h File Reference
#include <cstring>
#include <iostream>
#include <string_view>
#include <functional>
Include dependency graph for stream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StringStreamBuffer< BufferLength, Emitter >
class  DummyStreamBuffer

Functions

size_t utf8_truncate_count (std::string_view input)

Function Documentation

◆ utf8_truncate_count()

size_t utf8_truncate_count ( std::string_view input)
extern

References IS_UTF8_MULTB_INNER, IS_UTF8_MULTB_START, UTF8_MULTB_MAX, and UTF8_MULTB_START_LEN.

Referenced by StringStreamBuffer< BufferLength, Emitter >::sync(), and TestUtilities::testUTF8Truncate().

Here is the caller graph for this function: