|
BitStream
|
A trait used to serialize a float as-is, without any bound checking or quantization. More...
#include <float_trait.h>
Static Public Member Functions | |
| template<typename Stream > | |
| static utility::is_writing_t< Stream > | serialize (Stream &writer, in< float > value) noexcept |
| Serializes a whole float into the writer. | |
| template<typename Stream > | |
| static utility::is_reading_t< Stream > | serialize (Stream &reader, float &value) noexcept |
| Serializes a whole float from the reader. | |
A trait used to serialize a float as-is, without any bound checking or quantization.
|
inlinestaticnoexcept |
Serializes a whole float from the reader.
| reader | The stream to read from |
| value | The float to serialize to |
|
inlinestaticnoexcept |
Serializes a whole float into the writer.
| writer | The stream to write to |
| value | The float to serialize |