Get the latest tech news

Show HN: Hexi – Modern header-only network binary serialisation for C++


Header-only, lightweight C++ library for binary streaming. Network data handling made easy peasy! - EmberEmu/Hexi

The design goals are ease of use, safety when dealing with untrusted data, a reasonable level of flexibility, and keeping overhead to a minimum. By default, Hexi will try to serialise basic structures such as our UserPacket if they meet requirements for being safe to directly copy the bytes. buffer_adaptor can wrap any contiguous container or view that provides data and size member functions and optionally resize() for write support.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of network

network

Photo of Hexi

Hexi

Photo of modern header

modern header

Related news:

News photo

Verizon sets new 5G upload speed record (480 Mbps) as it continues to advance its network to manage AI and other emerging workloads

News photo

Texas man faces prison for activating ‘kill switch’ on former employer’s network

News photo

Text scams warning of unpaid road tolls fueled by cybercriminal salesmen on Telegram | A network of Chinese Telegram users is advertising toolkits that allow scammers to easily steal victims' credit card information.