|
Sen API
Sen Libraries
|
Binary input stream. Deserializes values. In general, I/O operations throw on failure. More...
#include <input_stream.h>
Public Member Functions | |
| ~InputStreamTemplate () noexcept=default | |
| void | readBool (bool &val) |
| void | readInt8 (int8_t &val) |
| void | readUInt8 (uint8_t &val) |
| void | readInt16 (int16_t &val) |
| void | readUInt16 (uint16_t &val) |
| void | readInt32 (int32_t &val) |
| void | readUInt32 (uint32_t &val) |
| void | readInt64 (int64_t &val) |
| void | readUInt64 (uint64_t &val) |
| void | readFloat32 (float32_t &val) |
| void | readFloat64 (float64_t &val) |
| void | readString (std::string &val) |
| void | readTimeStamp (TimeStamp &val) |
| InputStreamBase (Span< const uint8_t > buffer) noexcept | |
| const uint8_t * | advance (std::size_t bytes) |
| Skips a number of bytes. | |
| std::pair< const uint8_t *, std::size_t > | tryAdvance (std::size_t bytes) |
| bool | atEnd () const noexcept |
| std::size_t | getPosition () const noexcept |
| void | setPosition (std::size_t pos) noexcept |
Protected Member Functions | |
| void | reverse (std::size_t bytes) noexcept |
Binary input stream. Deserializes values. In general, I/O operations throw on failure.
|
defaultnoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicitnoexcept |
|
nodiscardinherited |
Skips a number of bytes.
|
nodiscardinherited |
|
inlinenodiscardnoexceptinherited |
|
inlinenodiscardnoexceptinherited |
|
inlinenoexceptinherited |
|
inlineprotectednoexceptinherited |