Questions tagged [flatbuffers]

FlatBuffers is a serialization library by Google. It is particularly suitable for games and other memory-constrained applications.

FlatBuffers is a serialization library by Google.

Rather than unpacking the data, it allows the user to directly access the serialized data, thus reducing the memory requirements. For that reason, it is particularly suitable for games and other memory constrained applications.

384 questions
-1
votes
1 answer

Is it possible to implement RTP-based protocol using Google's FlatBuffers library?

I'm especially interested in implementation of RTP-MIDI protocol. The major difficulties could be faced in implementation of bit-fields and non-ordinary MIDI-like timestamps, as I can expect. And maybe if somebody knows already existed open source…
-1
votes
1 answer

How can We use Flatbuffers Library in C# for xml Webservices?

We are using XML Web Services for Android and Iphone Application. Now we want to optimize those WS to speedup the Mobile phone application performance. Thanks
umang
  • 29
  • 1
  • 4
-1
votes
2 answers

Is there an off the shelf binary format that allows string caching

I am investigating migrating of a highly customized and efficient binary format to one of the available binary formats. The data is stored on some low powered mobile among other places, so performance is important requirement. Advantage of the…
MichalMa
  • 1,230
  • 6
  • 14
-2
votes
1 answer

Can I iterate over all the table items with FlatBuffers?

I have the following FlatBuffers schema (simplified): table StringNode { prefix: StringNode; suffix: StringNode; value: string (required); } table NodesData { url1: StringNode (required); url2: StringNode (required); url3: StringNode…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
-2
votes
1 answer

Flatbuffers how to send in one message uint16_t header, size_t body size and uint8_t buffer

I am using FlatBuffers & Boost ASIO I want to form a message with the following sequence: uint16_t Header identifier. (fixed size message) size_t body size <- so the reading part can know how long is the message that it needs to read. (fixed size…
Venelin
  • 2,905
  • 7
  • 53
  • 117
-2
votes
1 answer

Flatbuffers causing Segmentation fault when sent over TCP with Boost ASIO

I am using FlatBuffers & Boost ASIO Here is how I form up my message and sent it over from the client to the server: size_t const header_length = 8; size_t const body_size_b = 8; std::string data; ServerOpcode opc; opc =…
Venelin
  • 2,905
  • 7
  • 53
  • 117
-2
votes
1 answer

different packets, union - is a correct usage\verify?

documentaion have one simple example "serialization-unserialization" with one packet. (i not found more examples) if i have a many structs of packet, i need use union to this? or this bad idea? how i need verify income packets, before use it in…
noadev
  • 97
  • 2
-2
votes
2 answers

FlatBuffers index out of bound exception

for few days now i am trying to send data over socket using flatbuffers Schema: namespace Objects; union Parameters { Login, Register } table Message { parameters:Parameters; } table Login{ email:string; password:string; } table…
Lundira
  • 169
  • 3
  • 12
-4
votes
1 answer

Flatbuffers usage

I’m kind of confused how flat buffers work. I tried looking at the docs but am still confused. Basically, what I need to do is Load JSON data (or actually, ANY data format as long as it’s changeable by another user and readable) from a file into a…
ManUser123
  • 41
  • 1
  • 5
1 2 3
25
26