|
CARLA
|
Classes | |
| class | Buffer |
| A piece of raw data. More... | |
Typedefs | |
| using | const_shared_buffer = std::shared_ptr<const Buffer> |
| using | shared_buffer = std::shared_ptr<Buffer> |
Functions | |
| static std::string | as_string (const Buffer &buf) |
| template<typename T> | |
| static shared_buffer | make (const T &buffer) |
| static shared_buffer | make_empty (size_t size=0u) |
| shared_buffer | make_random (size_t size) |
| std::string | to_hex_string (const Buffer &buf, size_t length) |
| using util::buffer::const_shared_buffer = std::shared_ptr<const Buffer> |
Definition at line 22 of file test/Buffer.h.
| using util::buffer::shared_buffer = std::shared_ptr<Buffer> |
Definition at line 21 of file test/Buffer.h.
|
inlinestatic |
Definition at line 37 of file test/Buffer.h.
References as_string(), carla::Buffer::data(), and carla::Buffer::size().
Referenced by as_string().
|
inlinestatic |
|
inlinestatic |
| shared_buffer util::buffer::make_random | ( | size_t | size | ) |
Definition at line 14 of file test/Buffer.cpp.
References make_random().
Referenced by make_random(), TEST(), and TEST().
| std::string util::buffer::to_hex_string | ( | const Buffer & | buf, |
| size_t | length ) |
Definition at line 31 of file test/Buffer.cpp.
References carla::Buffer::data(), carla::Buffer::size(), and to_hex_string().
Referenced by carla::operator<<(), and to_hex_string().