Listing 4 shows the primitive data types we'll write to the record store.
清单4显示了我们将会写入到记录存储中的基本数据类型。
You could use XML to store configuration data, and write all sorts of utilities to read that data, but never actually store the configuration data itself.
您可以使用XML存储配置数据,同时编写各种工具来读取该数据,但是实际上却无法存储配置文件本身。
With protocol buffers, you write a.proto description of the data structure you wish to store.
利用protocol buffers,你对需要存储的数据结构编写一个。proto描述文件。
应用推荐