Giter Club home page Giter Club logo

Comments (1)

cloudwu avatar cloudwu commented on August 26, 2024

不考虑这种需求, 如果你需要, 可以额外写一个 lua 库作为补充. 对于 pbc 的 C 部分可以提供你需要的所有的支持.
btw, 你的需求中, 如果只修改一个字段, 不应该对全部做解码然后编码. protobuffer 是可拼接的. 你应该把要修改的字段截断掉, 把新的数据单独编码和旧的数据连接在一起.
另外,我讨厌把 protobuffer 用于做通讯协议之外的场合, 比如做数据持久化.

from pbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.