Loading...
Searching...
No Matches
bit_stream.h File Reference
`#include "platform.h"`
`#include "algorithm.h"`
`#include "binary.h"`
`#include "delegate.h"`
`#include "endianness.h"`
`#include "enum_type.h"`
`#include "error_handler.h"`
`#include "exception.h"`
`#include "integral_limits.h"`
`#include "iterator.h"`
`#include "memory.h"`
`#include "nullptr.h"`
`#include "optional.h"`
`#include "span.h"`
`#include "type_traits.h"`
`#include <limits.h>`
`#include <stdint.h>`
`#include "private/minmax_push.h"`
`#include "private/minmax_pop.h"`

Go to the source code of this file.

## Classes

struct | etl::bit_order
class | etl::bit_stream
class | etl::bit_stream_writer
| Writes bits streams. More...
class | etl::bit_stream_reader
| Reads bit streams. More...

## Namespaces

namespace | etl

## Functions

void | etl::write_unchecked (etl::bit_stream_writer &stream, bool value)
bool | etl::write (etl::bit_stream_writer &stream, bool value)
template<typename T>
etl::enable_if< etl::is_integral< T >::value, void >::type | etl::write_unchecked (etl::bit_stream_writer &stream, const T &value, uint_least8_t nbits=CHAR_BIT *sizeof(T))
template<typename T>
etl::enable_if< etl::is_integral< T >::value, bool >::type | etl::write (etl::bit_stream_writer &stream, const T &value, uint_least8_t nbits=CHAR_BIT *sizeof(T))
template<typename T>
T | etl::read_unchecked (etl::bit_stream_reader &stream)
| Read an unchecked type from a stream.
template<typename T>
T | etl::read_unchecked (etl::bit_stream_reader &stream, uint_least8_t nbits)
template<typename T>
etl::optional< T > | etl::read (etl::bit_stream_reader &stream)
| Read a checked type from a stream.
template<typename T>
etl::optional< T > | etl::read (etl::bit_stream_reader &stream, uint_least8_t nbits)
template<>
bool | etl::read_unchecked< bool > (etl::bit_stream_reader &stream)
| Read an unchecked bool from a stream.
template<>
etl::optional< bool > | etl::read< bool > (etl::bit_stream_reader &stream)
| Read a bool from a stream.