👍 MsgPackDecoder x 368,088 ops/sec ±0.15% (100 runs sampled) 👍 CborDecoder x 327,286 ops/sec ±0.15% (101 runs sampled) 👍 MsgPackDecoder.{findKey,findIndex}() x 1,815,090 ops/sec ±0.07% (99 runs sampled) 👍 MsgPackDecoder.find() x 1,797,098 ops/sec ±0.15% (98 r...
用这两个特性,可以实现一些比较灵活的编解码控制,比如这个例子实现了一个根据变量情况来编码的功能,如果Sub.type==1则encode seq1,否则encode seq2.__x_pack_decode和__x_pack_encode是XPACK宏给结构体添加的decode/encode函数,自定义编解码函数可以通过这些函数调用xpack默认的编解码功能。 union 可以使用自定义...
#if defined(X_PACK_SUPPORT_CXX0X) || defined (_GNU_SOURCE) #include "json_data.h" #endif #include "xpack.h" namespace xpack { class json { public: template <class T> static void decode(const std::string &data, T &val) { JsonDecoder de; de.decode(data, val);...
my_decoder.cpp mysql.cpp sharedptr.cpp sqlite.cpp union1.cpp xml.cpp xpack_out.cpp xtype.cpp xtype_advance.cpp yaml.cpp gtest rapidjson rapidxml .gitignore LICENSE README-bson.md README-en.md README.md bson.h bson_builder.h bson_decoder.h bson_encoder.h bson_type.h config.h exten...
xml_decoder.h fix some xml and bson bug (#2) 4年前 xml_encoder.h support array (#12) 4年前 xpack.h support array (#12) 4年前 xpack.pri support xml (#1) 4年前 xtype.h support xml (#1) 4年前 README Apache-2.0 xpack 基本用法 容器支持 FLAG 别名 位...
yaml_decoder.h yaml_encoder.h README License xpack English 用于在C++结构体和json/xml/yaml/bson/mysql/sqlite之间互相转换 只有头文件, 无需编译库文件,所以也没有Makefile。 支持bson,依赖于libbson-1.0,需自行安装。未经充分测试,具体请参考README ...
yaml_decoder.h support yaml sqlite (#39) 2年前 yaml_encoder.h support yaml sqlite (#39) 2年前 README Apache-2.0 xpack 基本用法 容器支持 FLAG 别名 位域 继承 枚举 自定义编解码 union 数组 不定类型 第三方类和结构体 格式化缩进 XML数组 CDATA Qt支持 MySQL 重要说明x...
penggy/packPublic Notifications Fork4 Star1 Issues Breadcrumbs pack /
基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作 Username for 'https://gitee.com': userName Password for 'https://userName@gitee.com': # 私人令牌 master 分支(1) 管理 管理 master webpack-dev-template / package-lock.json package-lock.json 201.09 KB ...
dependabot/npm_and_yarn/webpack-cli-4.7.0 dependabot/npm_and_yarn/lodash-4.17.21 dependabot/add-v2-config-file dependabot/npm_and_yarn/imagemin-8.0.0 dependabot/npm_and_yarn/ssri-6.0.2 dependabot/npm_and_yarn/y18n-4.0.3 dependabot/npm_and_yarn/is-svg-4.3.1 dependabot/npm_an...