Monero
Loading...
Searching...
No Matches
byte_slice.h File Reference
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include "span.h"
Include dependency graph for byte_slice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epee::release_byte_slice
struct  epee::release_byte_buffer
 Frees ref count + buffer allocated internally by byte_buffer. More...
class  epee::byte_slice
struct  epee::byte_slice::adapt_buffer

Namespaces

namespace  epee
 TODO: (mj-xmr) This will be reduced in an another PR.

Typedefs

using epee::byte_buffer = std::unique_ptr<std::uint8_t, release_byte_buffer>
 Alias for a buffer that has space for a byte_slice ref count.

Functions

byte_buffer epee::byte_buffer_resize (byte_buffer buf, std::size_t length) noexcept
byte_buffer epee::byte_buffer_increase (byte_buffer buf, std::size_t current, std::size_t more)