flatbuffers Questions

4

Solved

Is it possible to serialize / deserialize flatbuffers to and from JSON? What I really want to do is to save flatbuffers as JSON, allow people to change whatever value they want, then read back JSO...
Composition asked 11/1, 2018 at 21:17

2

Since this article (written by Kenton Varda in 2014), has anything changed about the use cases of using FlatBuffers vs. Protobuf? Alternatively, has something else come along that is now the prefer...
Thurifer asked 17/7, 2023 at 20:36

2

Solved

I'm experimenting with FlatBuffers to store OpenStreetMap data. So, this would be 50GB. Since usually everything is kept in memory, how is it possible (if at all) to sequentially write data into a...
Panther asked 10/2, 2016 at 18:5

5

if we install flatbuffers on Linux Ubuntu, we will not be able to use the shortc flatc command from anywhere to compile, how can we do this? For example: i want use in package.json some command "...
Annalee asked 28/3, 2019 at 9:48

3

My question is if FlatBuffers is much faster than Protobuf, why isn't it more widely used compared to Protobuf? It used to be an experimental thing but it seems to be mature enough now but isn't w...
Blackbeard asked 1/2, 2019 at 11:33

1

In typescript I am using flatbuffers like this: import {flatbuffers} from 'flatbuffers'; const builder = new flatbuffers.Builder(1); then I compile to js to be use with react-native: const flat...
Esque asked 15/7, 2019 at 15:30

1

Solved

I decided to figure out which of Protobuf, Flatbuffers and Cap'n proto would be the best/fastest serialization for my application. In my case sending some kind of byte/char array over a network (th...
Emissary asked 21/4, 2020 at 15:39

3

Solved

Please help to suggest some merits and demerits of Flatbuffers and CBOR protocols. Both these binary formats claim to be good on their websites, but I am not able to make some good differences betw...
Prevaricate asked 13/12, 2017 at 17:53

3

Solved

I have two questions regarding the use of flatbuffers in python, that focus around how to use them the right way without writing code that utterly defeats its performance advantage. I want to use f...
Sidestep asked 24/6, 2019 at 7:25

2

Solved

I've searched to find the proper MIME type for flatbuffers but I can't seem to find any. No mention of it on their documentation either. The project page: https://github.com/google/flatbuffers
Drabeck asked 27/3, 2019 at 17:59

6

Solved

I'm trying to build flatbuffers on OSX but I'm not sure how to proceed exactly. According to the doc. I should run cmake -G "Xcode". I did that and got the result: -- The C compiler identification...
Amadaamadas asked 18/6, 2014 at 1:34

4

I have basic knowledge of file streams in C++ and Google FlatBuffers. The Schema file is quite simple, also creating a buffer and reading from a buffer pointer. The thing that I don't get is how to...
Perspicacious asked 6/11, 2014 at 17:29

2

What is canonical way to store NULL value in FlatBuffers ? I have ExpirationDate *int64 I understand why FlatBuffers is not defining NULL. But I do not understand how to handle that properly. ...
Writeup asked 16/12, 2018 at 15:56

2

Solved

So, I'm currently working on a project where Protocol Buffers is used extensively, mainly as a way to store complex objects in a key-value database. Would a migration to Flat Buffers provide...
Bennir asked 27/3, 2017 at 19:24

1

Solved

I will be sending multiple buffer types over a connection. To keep it simple, imagine a schema like: namespace MyEvents; table EventOne { id:uint; timestamp:ulong; adress:string; } tab...
Rung asked 7/6, 2016 at 16:50

1

Solved

I'm checking out Flatbuffers for implementing a communication protocol. When a message is received, it may in my case contain a number of different tables. If I understand correctly, the way to ach...
Chiou asked 11/3, 2016 at 10:38

1

Solved

I'm filling out some flatbuffer messages but when I encode then decode them I get junk back out. I've not included the full message to avoid extraneous information, but I'm able to extract the enum...
Shivaree asked 10/3, 2016 at 18:22

1

Solved

I have a nodejs application that uses google flat buffers. the fbs file for the drinks schema: namespace MyAlcoholist; table Drink { drink_type_name: string; drink_company_name: string; drink_bran...
Bottomless asked 19/2, 2016 at 14:3

1

Solved

I'm trying to change the flatbuffers library CMakeLists.txt to make PUBLIC some flags. Then, I've rewritten these lines: Original code elseif(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}...
Gastrovascular asked 15/9, 2014 at 9:54

1

Both are serialization libraries and are developed by Google developers. Is there any big difference between them? Is it a lot of work to convert code using Protocol Buffers to use FlatBuffers?
Calque asked 18/8, 2014 at 4:54
1

© 2022 - 2025 — McMap. All rights reserved.