erl_protobuffs:Google的Erlang协议缓冲区的实现,基于bashoerlang_protobuffs

时间:2024-06-19 18:25:00
【文件属性】:

文件名称:erl_protobuffs:Google的Erlang协议缓冲区的实现,基于bashoerlang_protobuffs

文件大小:15KB

文件格式:ZIP

更新时间:2024-06-19 18:25:00

Erlang

erl_protobuffs Google的Erlang协议缓冲区的实现,基于 。 该模块是其他开源模块和原始代码的组合,使与 Protocol Buffers 协议的接口变得容易。 使用 .proto 文件 该模块的主要目标是让开发人员能够轻松使用 .proto 文件。 这个模块提供了非常基本的功能来做到这一点。 例如,test.proto message Person { required bool marriage = 1 [ default = true ]; required string name = 2 ; } message Family { repeated Person person = 1 ; } 从该文件中,我们可以创建一个 Erlang 模块,该模块可以将 Person 消息编码和解码为记录。 1> proto


【文件预览】:
erl_protobuffs-master
----proto()
--------test.proto(158B)
----make.bat(58B)
----src()
--------protobuffs_parser.erl(8KB)
--------protobuffs.erl(11KB)
--------protobuffs_compile.erl(13KB)
--------pokemon_pb.erl(5KB)
----script()
--------build.bat(502B)
----ebin()
--------.gitignore(71B)
----Emakefile(87B)
----test()
--------test.erl(842B)
----README.md(1KB)
----Makefile(659B)
----test.bat(212B)

网友评论