Skip to content

Question: Does Nakama Runtime RPC Support Protobuf/FlatBuffers Binary Data Transmission? #2438

@muzimu

Description

@muzimu

Hi there, I’m an indie developer working on a small game project. I want to use compact binary formats like Protobuf or FlatBuffers for my Nakama runtime RPC calls (to cut bandwidth and latency, instead of using Base64 which adds overhead).
Using Go plugin as backend and Cocos Creator as client(js library)
Now I Use nakama cocos2d-x-javascript library
I’m wondering:

  • Can the Nakama runtime RPC natively handle sending/receiving Protobuf or FlatBuffers binary data?
  • Are there simple workarounds if direct binary support isn’t available (e.g., for non-UTF-8 binary payloads)?
    Any basic guidance or examples would be really helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions