20 m_Buffer(
static_cast<uint32_t*
>(buffer)),
31 m_Buffer(
reinterpret_cast<uint32_t*
>(buffer.Bytes)),
41 m_Buffer(
reinterpret_cast<uint32_t*
>(buffer.Bytes)),
82 uint32_t
get_total_bits() const noexcept {
return (std::numeric_limits<uint32_t>::max)(); }
Definition: bounded_range.h:28
A byte buffer aligned to 4 bytes. Can be used with bit_reader and bit_writer.
Definition: byte_buffer.h:15
Definition: stream_traits.h:13
uint32_t m_NumBitsSerialized
Definition: stream_traits.h:65
fixed_policy(byte_buffer< Size > &buffer) noexcept
Construct a stream pointing to the given buffer.
Definition: stream_traits.h:40
fixed_policy(void *buffer, uint32_t num_bits) noexcept
Construct a stream pointing to the given byte array with num_bytes size.
Definition: stream_traits.h:19
uint32_t * m_Buffer
Definition: stream_traits.h:63
uint32_t * get_buffer() const noexcept
Definition: stream_traits.h:45
uint32_t m_TotalBits
Definition: stream_traits.h:66
bool can_serialize_bits(uint32_t num_bits) const noexcept
Definition: stream_traits.h:50
uint32_t get_total_bits() const noexcept
Definition: stream_traits.h:52
bool extend(uint32_t num_bits)
Definition: stream_traits.h:54
fixed_policy(byte_buffer< Size > &buffer, uint32_t num_bits) noexcept
Construct a stream pointing to the given buffer.
Definition: stream_traits.h:30
uint32_t get_num_bits_serialized() const noexcept
Definition: stream_traits.h:48
Definition: stream_traits.h:71
bool extend(uint32_t num_bits)
Definition: stream_traits.h:84
uint32_t get_num_bits_serialized() const noexcept
Definition: stream_traits.h:78
bool can_serialize_bits(uint32_t num_bits) const noexcept
Definition: stream_traits.h:80
T & m_Buffer
Definition: stream_traits.h:92
uint32_t get_total_bits() const noexcept
Definition: stream_traits.h:82
uint32_t * get_buffer() const noexcept
Definition: stream_traits.h:76
uint32_t m_NumBitsSerialized
Definition: stream_traits.h:94
growing_policy(T &container) noexcept
Definition: stream_traits.h:72