var::Data
- Inherits: api::ExecutionContext
public
- var::Data::Copy
- var::Data::Erase
Functions
#
Data()=defaultvar::Data::Data ()=default
#
Data(size_t size)explicit
var::Data::Data (size_t size)
#
Data(std::initializer_list< u8 > il)inline
var::Data::Data (std::initializer_list< u8 > il)
#
add_null_terminator()const char * var::Data::add_null_terminator ()
Type: const char *
#
append(View view)Data & var::Data::append (View view)
Type: Data &
Parameters:
- View
view
#
capacity() constinline
u32 var::Data::capacity () const
Type: u32
#
copy(View a, const Copy &options=Copy())Data & var::Data::copy (View a, const Copy &options=Copy())
Type: Data &
Parameters:
#
data()inline
void * var::Data::data ()
Type: void *
#
data() constinline
const void * var::Data::data () const
Type: const void *
#
data_u8()inline
u8 * var::Data::data_u8 ()
Type: u8 *
#
data_u8() constinline
const u8 * var::Data::data_u8 () const
Type: const u8 *
#
erase(const Erase &options)inline
Data & var::Data::erase (const Erase &options)
Type: Data &
Parameters:
- const Erase &
options
#
free()inline
Data & var::Data::free ()
Type: Data &
#
operator!=(const var::Data &data) constinline
bool var::Data::operator!= (const var::Data &data) const
Type: bool
Parameters:
- const var::Data &
data
#
operator()(const Erase &options)inline
Data & var::Data::operator() (const Erase &options)
Type: Data &
Parameters:
- const Erase &
options
#
operator<(const var::Data &data) constinline
bool var::Data::operator< (const var::Data &data) const
Type: bool
Parameters:
- const var::Data &
data
#
operator==(const var::Data &data) constinline
bool var::Data::operator== (const var::Data &data) const
Type: bool
Parameters:
- const var::Data &
data
#
operator>(const var::Data &data) constinline
bool var::Data::operator> (const var::Data &data) const
Type: bool
Parameters:
- const var::Data &
data
#
reserve(size_t size)inline
Data & var::Data::reserve (size_t size)
Type: Data &
Parameters:
size_t
size
#
resize(size_t size)Data & var::Data::resize (size_t size)
Type: Data &
Parameters:
size_t
size
#
size() constinline
size_t var::Data::size () const
Type: size_t
#
size_signed() constinline
ssize_t var::Data::size_signed () const
Type: ssize_t
#
string_view() constStringView var::Data::string_view () const
Type: StringView
#
view()inline
View var::Data::view ()
Type: View
#
view() constinline
View var::Data::view () const
Type: View
Static Functions
#
block_size()static u32 var::Data::block_size ()
Type: u32
#
from_string(var::StringView value)static Data var::Data::from_string (var::StringView value)
Type: Data
Parameters:
- var::StringView
value
#
minimum_capacity()static u32 var::Data::minimum_capacity ()
Type: u32
#
reclaim_heap_space()inline
static void var::Data::reclaim_heap_space ()
Type: void