cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
Loading...
Searching...
No Matches
binary.h File Reference

Definition of binary class. More...

#include <cstddef>
#include <cstring>
#include <initializer_list>
#include <limits>
#include <ostream>
#include <stdexcept>
#include <string_view>
#include <vector>
#include "msgpack_light/details/basic_binary_buffer.h"
Include dependency graph for binary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  msgpack_light::binary
 Class of binary data. More...
class  msgpack_light::binary_view
 Class to refer binary data. More...

Namespaces

namespace  msgpack_light
 Namespace of this project.
namespace  msgpack_light::details
 Namespace of internal implementations.

Functions

std::size_t msgpack_light::details::calculate_expanded_memory_buffer_size (std::size_t current_size, std::size_t additional_size)
 Calculate the size of an expanded buffer.
bool msgpack_light::operator!= (binary_view lhs, binary_view rhs)
 Compare two binary data.
binary msgpack_light::operator+ (const binary &lhs, const binary &rhs)
 Connect two binary data.
std::ostream & msgpack_light::operator<< (std::ostream &stream, const binary &value)
 Format a value to a stream.
bool msgpack_light::operator== (binary_view lhs, binary_view rhs)
 Compare two binary data.

Variables

constexpr std::size_t msgpack_light::details::default_binary_capacity = 8U
 Default of the capacity of the buffer in msgpack_light::binary class.

Detailed Description

Definition of binary class.

Definition in file binary.h.