Kagome
Polkadot Runtime Engine in C++17
kagome::common::BufferView Class Reference

#include <buffer_view.hpp>

Inheritance diagram for kagome::common::BufferView:
Collaboration diagram for kagome::common::BufferView:

Public Member Functions

 BufferView (const Span &other) noexcept
 
std::string toHex () const
 
bool operator== (const Span &other) const noexcept
 
template<size_t N>
bool operator== (const std::array< typename Span::value_type, N > &other) const noexcept
 
bool operator< (const BufferView &other) const noexcept
 
template<size_t N>
bool operator< (const std::array< typename Span::value_type, N > &other) const noexcept
 

Private Types

using Span = gsl::span< const uint8_t >
 

Detailed Description

Definition at line 21 of file buffer_view.hpp.

Member Typedef Documentation

using kagome::common::BufferView::Span = gsl::span<const uint8_t>
private

Definition at line 22 of file buffer_view.hpp.

Constructor & Destructor Documentation

kagome::common::BufferView::BufferView ( const Span other)
inlinenoexcept

Definition at line 28 of file buffer_view.hpp.

Member Function Documentation

bool kagome::common::BufferView::operator< ( const BufferView other) const
inlinenoexcept

Definition at line 46 of file buffer_view.hpp.

template<size_t N>
bool kagome::common::BufferView::operator< ( const std::array< typename Span::value_type, N > &  other) const
inlinenoexcept

Definition at line 52 of file buffer_view.hpp.

bool kagome::common::BufferView::operator== ( const Span other) const
inlinenoexcept

Definition at line 34 of file buffer_view.hpp.

template<size_t N>
bool kagome::common::BufferView::operator== ( const std::array< typename Span::value_type, N > &  other) const
inlinenoexcept

Definition at line 40 of file buffer_view.hpp.

std::string kagome::common::BufferView::toHex ( ) const
inline

Definition at line 30 of file buffer_view.hpp.


The documentation for this class was generated from the following file: