flatbuffers
flatbuffers copied to clipboard
FlatBuffers: Memory Efficient Serialization Library
* Upgraded dependencies * Native module resolution (removal of esm dependency) * Improved TS typing WIP, should be rebased after https://github.com/google/flatbuffers/pull/7396 is merged.
After #7348, `--keep-prefix` has unexpected behavior. Consider the following directory structure: - `foo/foo.fbs`, which contains `include 'bar/bar.fbs';` - `foo/bar/bar.fbs` Run: ``` flatc --cpp --keep-prefix foo/foo.fbs ``` I'd expect the resulting...
TextEncoder and TextDecoder are well supported these days, see https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder#browser_compatibility and https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder#browser_compatibility.
https://github.com/chipsalliance/Surelog/runs/7553127899?check_suite_focus=true In the build action: /d/a/Surelog/Surelog/third_party/flatbuffers/src/util.cpp:219:29: error: ‘realpath’ was not declared in this scope 114 219 | char *abs_path_temp = realpath(filepath.c_str(), nullptr); 115 |
* allows to run code generation and/or typescript tests without ending up with modified or untracked content * harmonizes code generation check and typescript tests to generate the same content
When I have the message .fbs files and the gRPC service .fbs files in one folder and call flatc in that folder with the following command everything works fine. ```...
Flatbuffers 2.0.5 Compiled to WASM ([link](https://github.com/DigitalArsenal/flatbuffers_wasm)) Chrome Version 1.38.111 The offset check [here](https://github.com/google/flatbuffers/blob/master/src/idl_gen_ts.cpp#L1377) will return `null` for offset `0` if the `HasNullDefault` flag is set for a property. Setting a...
Just wondering if there's any plans to support Kotlin Multiplatform once the Kotlin export is officially supported as well? Currently it's using the jvm runtime jar that isn't setup as...
- The following test code fails [C++, VisualStudio 2022, Windows 10, master] ```cpp void JsonParseTest() { flatbuffers::Parser parser; TEST_EQ(parser.Deserialize(MyGame::Example::MonsterBinarySchema::data(), MyGame::Example::MonsterBinarySchema::size()), true); auto jsonStr = R"( { "name": "lookupTest", "testarrayoftables": [...
Introduce a MSVC_LIKE variable in the CMake scripts, set that variable to true only if the compiler is either MSVC or tries to emulate the MSVC command line, and test...