Class hal::stream_parse
template <std::unsigned_integral T>
ClassList > hal > stream_parse
Read bytes from stream and convert to integer.
#include <streams.hpp>
Public Functions
Type | Name |
---|---|
work_state | state () |
stream_parse () = default Construct a new parse object. |
|
const T & | value () |
Public Functions Documentation
function state
inline work_state hal::stream_parse::state ()
function stream_parse
explicit hal::stream_parse::stream_parse () = default
function value
inline const T & hal::stream_parse::value ()
Returns:
T& - return an immutable reference to the value
## Friends Documentation
friend operator|
inline std::span< const hal::byte > hal::stream_parse::operator| (
const std::span< const hal::byte > & p_input_data,
stream_parse & p_self
)
The documentation for this class was generated from the following file libraries/include/libhal-util/streams.hpp