CARLA
Loading...
Searching...
No Matches
Buffer.h File Reference
#include <carla/Buffer.h>
#include <algorithm>
#include <memory>
#include <ostream>
#include <string>

Go to the source code of this file.

Classes

class  util::buffer::Buffer
 A piece of raw data. More...

Namespaces

namespace  carla
 This file contains definitions of common data structures used in traffic manager.
namespace  util
namespace  util::buffer

Typedefs

using util::buffer::const_shared_buffer = std::shared_ptr<const Buffer>
using util::buffer::shared_buffer = std::shared_ptr<Buffer>

Functions

static std::string util::buffer::as_string (const Buffer &buf)
template<typename T>
static shared_buffer util::buffer::make (const T &buffer)
static shared_buffer util::buffer::make_empty (size_t size=0u)
shared_buffer util::buffer::make_random (size_t size)
static bool carla::operator!= (const Buffer &lhs, const Buffer &rhs)
static std::ostream & carla::operator<< (std::ostream &out, const Buffer &buf)
static bool carla::operator== (const Buffer &lhs, const Buffer &rhs)
std::string util::buffer::to_hex_string (const Buffer &buf, size_t length)