
protocol buffer
后山之人
这个作者很懒,什么都没留下…
展开
-
Google Protocol Buffer 的使用和原理
Protocol Buffers 是一种轻便高效的结构化数据存储格式,可以用于结构化数据串行化,很适合做数据存储或 RPC 数据交换格式。它可用于通讯协议、数据存储等领域的语言无关、平台无关、可扩展的序列化结构数据格式。目前提供了 C++、Java、Python 三种语言的 API。转载 2014-11-04 23:24:10 · 579 阅读 · 0 评论 -
windows下使用protocol buffer
一、下载在github上下载 https://github.com/google/protobuf二、下载gtest官方地址https://code.google.com/p/googletest/ 官网上不的童鞋可以在这下载http://download.youkuaiyun.com/detail/u011476173/8129191下载完成后原创 2014-11-07 09:54:33 · 3822 阅读 · 0 评论 -
使用 VS 2012 编译 GTest 遇到的编译错误
下载gtest-1.7.0,然后解压到一个目录下,比如e:\gtest-1.6.0如果大家尝试着用VS2012 去编译GTest (e:\gtest-1.6.0\msvc\gtest.sln),可能会碰到下面的编译错误:\gtest\include\gtest\gtest-printers.h(550): error C2977: 'std::tuple' : too many tem原创 2014-11-06 17:16:54 · 1867 阅读 · 0 评论 -
protocolBuffer 说明
近期手上项目需要选择一配置信息保存方案,现就XML、JSON、Protocol Buffer(以下简称PB)、Lua做一次横向对比。首先要说明的是Lua严格来说属于嵌入式脚本语言,而XML、JSON、PB都属于数据交换格式,两者之间不属于同类别,按理说不应该放在一起比较,但是就项目需求来讲,Lua也能够实现配置信息保存。故而将Lua和XML、JSON、PB放在一起做横向对比。转载 2014-11-04 23:26:12 · 692 阅读 · 0 评论 -
Protocol Buffers: (8) Techniques
This page describes some commonly-used design patterns for dealing with Protocol Buffers. You can also send design and usage questions to the Protocol Buffers discussion group.Streaming Multiple转载 2014-11-04 22:30:20 · 582 阅读 · 0 评论 -
Protocol Buffers: (7) Protocol Buffer Basics: Python
Protocol Buffer Basics: PythonThis tutorial provides a basic Python programmer's introduction to working with protocol buffers. By walking through creating a simple example application, it shows转载 2014-11-04 22:29:14 · 890 阅读 · 0 评论 -
Protocol Buffers: (5) Protocol Buffer Basics: C++
Protocol Buffer Basics: C++This tutorial provides a basic C++ programmer's introduction to working with protocol buffers. By walking through creating a simple example application, it shows you h转载 2014-11-04 22:26:27 · 651 阅读 · 0 评论 -
Protocol Buffers: (3) Style Guide
This document provides a style guide for .proto files. By following these conventions, you'll make your protocol buffer message definitions and their corresponding classes consistent and easy to read.转载 2014-11-04 22:23:49 · 561 阅读 · 0 评论 -
Protocol Buffers: (1) Overview
Developer GuideWelcome to the developer documentation for protocol buffers – a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protoco转载 2014-11-04 22:10:45 · 652 阅读 · 0 评论 -
Protocol Buffers: (9) Third Party Add ons
Third-Party Add-ons for Protocol BuffersThis page lists code related to Protocol Buffers which is developed and maintained by third parties. You may find this code useful, but note that *none of t转载 2014-11-04 22:31:58 · 1530 阅读 · 0 评论 -
Protocol Buffers: (2) Language Guide
This guide describes how to use the protocol buffer language to structure your protocol buffer data, including .proto file syntax and how to generate data access classes from your .proto files.Thi转载 2014-11-04 22:13:47 · 1110 阅读 · 0 评论 -
Protocol Buffers: (6) Protocol Buffer Basics: Java
Protocol Buffer Basics: JavaThis tutorial provides a basic Java programmer's introduction to working with protocol buffers. By walking through creating a simple example application, it shows you转载 2014-11-04 22:28:14 · 537 阅读 · 0 评论 -
Protocol Buffers: (4) Encoding
This document describes the binary wire format for protocol buffer messages. You don't need to understand this to use protocol buffers in your applications, but it can be very useful to know how diffe转载 2014-11-04 22:24:45 · 684 阅读 · 0 评论