This file lists the major changes between versions. For a more detailed list of every change, see the Git log.
- tbd
- Major: Use waf-tools 5.
- Patch: Fix warning in 8-bit value check.
- Minor: Improved api of the detail stream class.
- Minor: Added example and documentation for network.
- Minor: Added network alias methods.
- Minor: Added basic example for stream writer and reader.
- Minor: Added << operator for stream writer and >> for stream reader.
- Minor: Updated waf.
- Major: Change cmake build to be object library based.
- Minor: Added install step to CMake.
- Major: Use std::size_t for size and positions.
- Minor: Lower cmake version requirement.
- Minor: Improve cmake build file.
- Minor: Added cmake.
- Patch: Allow empty streams.
- Major: stream class in detail namespace and folder
- Major: Removed stream_writer(std::vector<uint8_t>&) and stream_reader(const std::vector<uint8_t>&)
- Minor: Added
size_type
to the API.
- Major: Writing to/from half or less of the bytes of a provided type is now disallowed, use a smaller type instead and make an explicit cast is needed.
- Patch: Recursive implementation of conversion.
- Minor: Added
ValueType get()
andValueType get_bytes()
. - Minor: Added support for Float type and Double types.
- Minor: Added
ValueType read()
andValueType peek()
.
- Patch: Fixed
stream_reader.read
.
- Major: Removed
types.hpp
. - Major: Renamed
stream_reader.read
tostream_reader.read_bytes
which now takes auint8_t
template argument specifying the number of bytes. - Major: Renamed
stream_reader.peek
tostream_reader.peek_bytes
which now takes auint8_t
template argument specifying the number of bytes. - Major: Renamed
stream_writer.write
tostream_writer.write_bytes
which now takes auint8_t
template argument specifying the number of bytes. - Major: Added
stream_writer.write
which allows writinguint8_t
,uint16_t
,uint32_t
, anduint64_t
. - Major: Added
stream_reader.read
which allows readinguint8_t
,uint16_t
,uint32_t
, anduint64_t
. - Major: Added
stream_reader.peek
which allows peekinguint8_t
,uint16_t
,uint32_t
, anduint64_t
.
- Major: Renamed
get
andput
toget_bytes
andput_bytes
. - Minor: Added possibility to read native types with
get
andput
.
- Minor: Made
peek
const. - Minor:
peek
now takes an offset parameter for peeking further ahead in the stream. This value is defaulted to 0 so the API hasn't changed.
- Minor: Added peek which allows reading without moving the read position.
- Patch: Allow streams of size 0.
- Major: Removed put* and get* static functions.
- Major: Added support for additional byte sized fields. Instead of
directly using the native types. endian now uses the types defined in
src/endian/types.hpp
such asu8
,u16
,u24
,u32
, etc.
- Minor: Added functions for reading and writing signed integers.
- Major: Changed size to be of type uint64_t instead of uint32_t.
- Minor: Added
skip
function to stream.
- Minor: Added
stream_writer::constructor(std::vector<uint8_t>&)
andstream_reader::constructor(std::vector<uint8_t>&)
.
- Major: Upgrade to waf-tools 4
- Minor: Upgrade to gtest 4
- Major: Renamed
remaining
toremaining_size
. - Minor: Added
data
andremaining_data
tostream_reader
andstream_writer
.
- Minor: Added
remaining
function tostream
.
- Major: Removed
storage
dependency. - Major: Renamed use flag
endian
toendian_includes
. - Major: Renamed redundant names
endian_stream
tostream
,endian_stream_writer
tostream_writer
, andendian_stream_reader
tostream_reader
.
- Major: Initial release.