protopuf:协议河豚

时间:2024-05-25 16:50:07
【文件属性】:

文件名称:protopuf:协议河豚

文件大小:61KB

文件格式:ZIP

更新时间:2024-05-25 16:50:07

C++

协议河豚 这是什么? 一个高度模板化且与Protobuf兼容的小巧序列化/反序列化库,用C ++ 20编写 要求 具有C ++ 20支持的编译器和标准库实现 GCC 11或以上,或 lang声等于或大于12,或 MSVC 14.29(Visual Studio 2019版本16.9)或更高版本 CMake的3 GoogleTest(可选,用于单元测试) vcpkg(可选, vcpkg install protopuf进行安装) 特征 数据结构是使用C ++中的类型而不是诸如协议缓冲区语言( .proto )的DSL来描述的 与协议缓冲区的编码完全兼容,能够相互序列化/反序列化 旨在提高运行时性能的广泛编译时操作 一个例子 对于使用.proto描述的以下数据结构: message Student { uint32 id = 1 ; string name = 3 ;


【文件预览】:
protopuf-master
----asset()
--------puffer.png(13KB)
----.github()
--------workflows()
----test()
--------benchmark()
--------map.cpp(2KB)
--------varint.cpp(2KB)
--------coder.cpp(3KB)
--------skip.cpp(4KB)
--------compatibility()
--------bool.cpp(1KB)
--------message.cpp(16KB)
--------zigzag.cpp(3KB)
--------enum.cpp(2KB)
--------fixed_string.cpp(1KB)
--------float.cpp(2KB)
--------int.cpp(3KB)
--------reflection.cpp(3KB)
--------array.cpp(2KB)
----googletest()
--------CMakeLists.txt.in(444B)
----include()
--------protopuf()
----LICENSE(11KB)
----.gitignore(2KB)
----CMakeLists.txt(4KB)
----README.md(4KB)

网友评论