文章分类 -  thrift

摘要:安装 安装boost库 测试boost库 c++ include include using namespace std; using namespace boost; int fun(int x,int y){return x+y;} int main(){ int m=1;int n=2; co 阅读全文
posted @ 2017-02-23 13:52 zhangshihai1232 阅读(246) 评论(0) 推荐(0)
摘要:数据类型 基本类型 bool: 布尔(ture或者false) byte: 有符号字节 i16:16位有符号整型 i32:32位有符号整型 i64:64位有符号整型 double:64位浮点数 string:未知编码或者二进制的字符串 注意:thrift不支持无符号整形,因为很多目标语言不存在无符号 阅读全文
posted @ 2017-02-08 20:48 zhangshihai1232 阅读(1212) 评论(0) 推荐(0)