This project offers a C module for Lua (5.1, 5.2, 5.3, 5.4, and LuaJIT) manipulating Google's protobuf protocol, both for version 2 and 3 syntax and semantics. It splits into the lower-level and the high-level parts for different goals. For converting between binary protobuf data with Lua tables, using pb.load() loads the compiled protobuf schema content (*.pb file) generated by Google protobuf's compiler named protoc and call pb.encode()/pb.decode(). If you don't want to depend Google's protobuf compiler, protoc.lua is a pure Lua module translating text-based protobuf schema content into the *.pb binary format.

Features

  • A wire format decoding module
  • Buffer implement that use to encode basic types into protobuf's wire format. It can be used to support streaming decode protobuf data
  • Documentation available
  • Module converting integers in the protobuf wire format
  • To install, you could just use luarocks
  • Examples available

Project Samples

Project Activity

See All Activity >

Categories

File Managers

License

MIT License

Follow Google protobuf support for Lua

Google protobuf support for Lua Web Site

Other Useful Business Software
Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud Icon
Managed MySQL, PostgreSQL, and SQL Databases on Google Cloud

Get back to your application and leave the database to us. Cloud SQL automatically handles backups, replication, and scaling.

Cloud SQL is a fully managed relational database for MySQL, PostgreSQL, and SQL Server. We handle patching, backups, replication, encryption, and failover—so you can focus on your app. Migrate from on-prem or other clouds with free Database Migration Service. IDC found customers achieved 246% ROI. New customers get $300 in credits plus a 30-day free trial.
Try Cloud SQL Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Google protobuf support for Lua!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Lua

Related Categories

Lua File Managers

Registered

2024-07-17