binary_io::components::basic_format_stream class

Implements the default formatting behaviours for every stream.

Derived classes

template<class Derived>
class binary_io::istream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::istream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::istream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::istream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::ostream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::ostream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::ostream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::ostream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::istream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.
template<class Derived>
class binary_io::ostream_interface
A CRTP utility which can be used to flesh out the interface of a given stream.

Formatting

auto endian() const -> std::endian noexcept
Gets the current default endian format.
void endian(std::endian a_endian) noexcept
Sets the default endian format.

Function documentation

std::endian binary_io::components::basic_format_stream::endian() const noexcept

Gets the current default endian format.

Returns The default endian format.

void binary_io::components::basic_format_stream::endian(std::endian a_endian) noexcept

Sets the default endian format.

Parameters
a_endian The new endian format.