Adding support to netstring (#8788)
authorGabriel Braga <gabriel.braga@intra2net.com>
Mon, 15 Apr 2024 15:50:11 +0000 (17:50 +0200)
committerGabriel Braga <gabriel.braga@intra2net.com>
Tue, 30 Apr 2024 10:03:51 +0000 (12:03 +0200)
commit823ad66f073b14f7b407a43d47f50e9df2bf7f60
tree224dd7f528785a4fb9fe79b59397ec41084d989a
parent199c4eed3d86cb76a6b4b3346e949efb4638002f
Adding support to netstring (#8788)

This commit adds a support for netstrings encoding, decoding and
a buffer to automaticaly extract valid data encapsulated on it.
Unit tests for it's functionalities were also implemented.
src/CMakeLists.txt
src/exception.hxx
src/netstring.cpp [new file with mode: 0644]
src/netstring.hpp [new file with mode: 0644]
test/CMakeLists.txt
test/test_netstring.cpp [new file with mode: 0644]