mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
Casper fac0d7be02
Apply Namer to Java. (#7194)
* Started applying Namer to Java.

- Java didn't previously have keyword escaping
- Added prefixes and suffixes to the Namer methods
- TODO: migrate previous namer applications to using pre/suffixes
- Java methods / functions are interesting, it's mostly camel case
  except when it involves a struct/enum name. That section is Keep case
- I changed the casing for some internal arguments/variables. This
  violates the "don't change genfiles" rule that I've been using but it
  shouldn't break user code.
- LegacyJavaMethod2 is interesting. Basically, Java has a "mixed" case
  convention where it's camel case, except for the type/variant name
  itself, which is keep case. So a type foo_bar would become getfoo_bar
  instead of getFooBar.

* small fix

* Namer for Namespaces

* removed unused parameter, add const everywhere

* Remove unused argument

* More unused args

* Use mutable reference out parameters

* Made more strings const and inlined const empty strings

* remove do not submit

Co-authored-by: Casper Neo <cneo@google.com>
2022-03-30 18:13:16 -04:00
.bazelci [swift] Add bazel configuration for Swift (#7195) 2022-03-29 21:30:33 -07:00
.github Trigger fuzzing CI only on relevant changes (#7120) 2022-02-21 23:44:04 -06:00
.travis Ran clang-format-all.sh. Removed default --style=file parameter (#6639) 2021-05-15 12:54:08 -07:00
android replaced removed xml tag 2022-02-02 15:15:50 -08:00
bazel
benchmarks Vector Downward GetSize optimization (#6925) 2021-11-22 19:50:42 -08:00
CMake Use DESCRIPTION only if CMake version >= 3.9 (#7166) 2022-03-13 12:49:18 -07:00
conan attempt to remove appveyor (#7056) 2022-01-31 21:52:15 -08:00
dart Namerdart (#7187) 2022-03-28 18:07:09 -04:00
docs Fix minor typo in WhitePaper.md (#7108) 2022-02-18 21:29:21 -08:00
go
grpc Replaced ToDasherCase with ConvertCase (#7131) 2022-02-23 22:31:40 -06:00
include/flatbuffers Namerdart (#7187) 2022-03-28 18:07:09 -04:00
java/com/google/flatbuffers removed BSD-3-Clause license and Zlib licenses (#7073) 2022-02-02 13:12:01 -08:00
js
kotlin Updated main version numbers to 2.0 2021-05-10 11:14:47 -07:00
lobster [Lobster] file_identifier support 2022-03-08 15:39:12 -08:00
lua [Lua] manipulate byte array as string (#6624) 2021-05-07 22:57:13 -07:00
mjs
net/FlatBuffers add xmlns to .Net (#7066) 2022-02-01 20:57:13 -08:00
php
python Add reflection support for python (#7026) 2022-02-10 11:10:47 -08:00
reflection Handle root offset and root table vtable invalidation (#7177) 2022-03-23 21:51:32 -07:00
rust [Rust] Add length checks to arrays and vectors. (#7130) 2022-02-24 13:49:59 -05:00
samples [Lobster] file_identifier support 2022-03-08 15:39:12 -08:00
scripts [C#] Fix collision of field name and type name (#7149) 2022-03-30 12:51:58 -07:00
snap use improved versioning (#6691) 2021-06-11 15:27:59 -07:00
src Apply Namer to Java. (#7194) 2022-03-30 18:13:16 -04:00
swift [swift] Add bazel configuration for Swift (#7195) 2022-03-29 21:30:33 -07:00
tests Apply Namer to Java. (#7194) 2022-03-30 18:13:16 -04:00
ts [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
.clang-format
.editorconfig
.eslintrc.js
.gitattributes
.gitignore Added Google benchmarks (and gtests) (#6920) 2021-11-15 13:41:22 -08:00
.travis.yml Removed test/generate_code.{sh|bat} (#6873) 2021-11-30 23:13:24 -08:00
BUILD.bazel [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
build_defs.bzl Move flatbuffer_ts_library to typescript.bzl (#7183) 2022-03-22 21:41:39 -07:00
CMakeLists.txt Annotated Flatbuffer Binary (#7174) 2022-03-18 14:08:05 -07:00
composer.json
conanfile.py
CONTRIBUTING.md
Formatters.md Ran clang-format-all.sh. Removed default --style=file parameter (#6639) 2021-05-15 12:54:08 -07:00
LICENSE.txt
package.json [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00
pom.xml update Java version to 2.0.3 2021-08-14 09:01:54 -07:00
readme.md attempt to remove appveyor (#7056) 2022-01-31 21:52:15 -08:00
SECURITY.md Create Security.md 2021-05-19 11:55:50 -07:00
swift.swiftformat Improves documentation, and adding DocC (#6784) 2021-09-27 20:59:19 +02:00
tsconfig.json
tsconfig.mjs.json
typescript.bzl Move flatbuffer_ts_library to typescript.bzl (#7183) 2022-03-22 21:41:39 -07:00
WORKSPACE [swift] Add bazel configuration for Swift (#7195) 2022-03-29 21:30:33 -07:00
yarn.lock [TS] Add single-file ts codegen & bazel rule for typescript (#7161) 2022-03-10 10:08:13 -08:00

logo FlatBuffers

Build status Join the chat at https://gitter.im/google/flatbuffers Discord Chat Twitter Follow Twitter Follow

FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.

Go to our landing page to browse our documentation.

Supported operating systems

  • Windows
  • MacOS X
  • Linux
  • Android
  • And any others with a recent C++ compiler.

Supported programming languages

  • C++
  • C#
  • C
  • Dart
  • Go
  • Java
  • JavaScript
  • Lobster
  • Lua
  • PHP
  • Python
  • Rust
  • TypeScript

and more in progress...

Contribution

To contribute to this project, see CONTRIBUTING.

Security

Please see our Security Policy for reporting vulnerabilities.

Licensing

Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.