Skip to content

madpacket is a single-header C++20 library for defining binary protocols/register blocks/file formats as compile-time layouts and reading/writing fields directly in raw buffers with predictable bit packing, explicit endianness, and configurable MMIO width/alignment semantics, safer than struct overlays and faster than runtime serializers.

License

Notifications You must be signed in to change notification settings

DimitryQm/madpacket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

madpacket

madpacket is a single-header C++20 library for defining binary protocols/register blocks/file formats as compile-time layouts and reading/writing fields directly in raw buffers with predictable bit packing, explicit endianness, and configurable MMIO width/alignment semantics, safer than struct overlays and faster than runtime serializers.

About

madpacket is a single-header C++20 library for defining binary protocols/register blocks/file formats as compile-time layouts and reading/writing fields directly in raw buffers with predictable bit packing, explicit endianness, and configurable MMIO width/alignment semantics, safer than struct overlays and faster than runtime serializers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages