Everett
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
everett::bit_string Struct Reference

#include <profile.h>

Public Member Functions

void validate () const
 
bit_view view () const &
 
bit_view view () const &&=delete
 
bool operator== (bit_string const &) const =default
 

Static Public Member Functions

static bit_string copy (bit_view source)
 
static bit_string from_bytes (std::span< std::byte const > source)
 
static bit_string from_bytes (std::string_view source)
 
static bit_string from_bits (std::string_view source)
 

Public Attributes

std::vector< std::byte > bytes
 
std::uint64_t bit_size = 0
 

Member Function Documentation

◆ copy()

static bit_string everett::bit_string::copy ( bit_view  source)
inlinestatic

◆ from_bits()

static bit_string everett::bit_string::from_bits ( std::string_view  source)
inlinestatic

◆ from_bytes() [1/2]

static bit_string everett::bit_string::from_bytes ( std::span< std::byte const >  source)
inlinestatic

◆ from_bytes() [2/2]

static bit_string everett::bit_string::from_bytes ( std::string_view  source)
inlinestatic

◆ operator==()

bool everett::bit_string::operator== ( bit_string const &  ) const
default

◆ validate()

void everett::bit_string::validate ( ) const
inline

◆ view() [1/2]

bit_view everett::bit_string::view ( ) const &
inline

◆ view() [2/2]

bit_view everett::bit_string::view ( ) const &&
delete

Member Data Documentation

◆ bit_size

std::uint64_t everett::bit_string::bit_size = 0

◆ bytes

std::vector<std::byte> everett::bit_string::bytes

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