userver
C++ Async Framework
Documentation
API Groups
Namespaces
Reference
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
y
Variables
k
n
r
u
w
Typedefs
c
d
h
m
n
o
p
s
t
u
v
Enumerations
a
b
c
d
f
h
i
l
o
p
r
s
t
u
v
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
Related Symbols
File List
File Members
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
Toggle main menu visibility
▼
userver
Documentation
►
API Groups
►
Namespaces
▼
Reference
►
Namespace Members
►
Class List
Class Index
►
Class Hierarchy
►
Class Members
▼
File List
►
en
►
testsuite
►
userver
▼
userver
►
alerts
►
baggage
►
cache
►
clients
►
components
►
concurrent
►
congestion_control
►
dist_lock
►
drivers
▼
dump
►
aggregates.hpp
►
common.hpp
►
common_containers.hpp
config.hpp
►
dumper.hpp
factory.hpp
fwd.hpp
helpers.hpp
►
json_helpers.hpp
►
meta.hpp
meta_containers.hpp
operations.hpp
operations_encrypted.hpp
operations_file.hpp
►
to.hpp
unsafe.hpp
►
dynamic_config
►
engine
►
error_injection
►
fs
►
logging
►
moodycamel
►
net
►
os_signals
►
rcu
►
server
►
storages
►
testsuite
►
tracing
►
utils
►
userver
►
userver
►
userver
►
userver
►
userver
►
userver
►
userver
►
userver
►
userver
►
userver
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
All results
unsafe.hpp
1
#
pragma
once
2
3
#
include
<
string_view
>
4
5
#
include
<
userver
/
dump
/
operations
.
hpp
>
6
7
USERVER_NAMESPACE_BEGIN
8
9
namespace
dump
{
10
11
/// @brief Writes a non-size-prefixed `std::string_view`
12
/// @note `writer.Write(str)` should normally be used instead to write strings
13
void
WriteStringViewUnsafe
(
Writer
& writer, std::string_view value);
14
15
/// @brief Reads a `std::string_view`
16
/// @warning The `string_view` will be invalidated on the next `Read` operation
17
std
::
string_view
ReadStringViewUnsafe
(
Reader
&
reader
);
18
19
/// @brief Reads a non-size-prefixed `std::string_view`
20
/// @note The caller must somehow know the string size in advance
21
/// @warning The `string_view` will be invalidated on the next `Read` operation
22
std
::
string_view
ReadStringViewUnsafe
(
Reader
&
reader
,
std
::
size_t
size
);
23
24
/// @brief Reads a `std::string_view`
25
/// @note Normally, exactly `max_size` bytes is returned. On end-of-file,
26
/// the amount of bytes returned can be less than `max_size`.
27
/// @warning The `string_view` will be invalidated on the next `Read` operation
28
std
::
string_view
ReadUnsafeAtMost
(
Reader
&
reader
,
std
::
size_t
max_size
);
29
30
}
// namespace dump
31
32
USERVER_NAMESPACE_END
Docs version:
trunk/develop
,
v2.0
,
v1.0
,
others
userver
dump
unsafe.hpp
Generated on Wed May 15 2024 22:18:29 for userver by
Doxygen
1.10.0