mirror of https://github.com/vee1e/flatbuffers - FlatBuffers: Memory Efficient Serialization Library
Find a file
Paulo Pinheiro de9aa0cdee Add basic Kotlin support (#5409)
* [Kotlin] Add kotlin generate code for tests and add
kotlin test to TestAll.sh

* [Kotlin] Add Kotlin generator

This change adds support for generating Kotlin classes.

The approach of this generator is to keep it as close
as possible to the java generator for now, in order
to keep the change simple.

It uses the already implemented java runtime,
so we don't support cross-platform nor js Kotlin yet.

Kotlin tests are just a copy of the java tests.

* Add optional ident support for CodeWriter

Identation is important for some languages and
different projects have different ways of ident
code, e.g. tabs vs spaces, so we are adding optional
support on CodeWriter for identation.

* [Kotlin] Add Documentation for Kotlin

* [Kotlin] Modify generated code to use experimental Unsigned types.
2019-07-22 16:05:15 -07:00
.appveyor Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
.bazelci
.github
.travis Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
android
CMake
conan
dart
docs Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
go [Go] Public visibility for gazelle default target (#5361) 2019-05-21 14:48:51 -07:00
grpc Enforce matching version in Java and C#. 2019-05-31 12:15:19 -07:00
include/flatbuffers Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
java/com/google/flatbuffers Update Utf8.java: more detailed exception message (#5421) 2019-06-27 12:19:57 -07:00
js
lobster Lobster: added builder API for tables 2019-05-22 19:42:13 -07:00
lua
net/FlatBuffers Set C# Struct/Table visibility to public (#5381) (#5416) 2019-06-24 17:51:04 -07:00
php
python
reflection Add support for fixed-size arrays (#5313) 2019-06-18 00:15:13 +02:00
rust/flatbuffers [rust] Ran rustfmt against library code (#5389) 2019-07-09 13:41:51 -07:00
samples Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
snap
src Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
tests Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
.clang-format
.editorconfig
.gitattributes
.gitignore
.travis.yml
appveyor.yml
BUILD Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
build_defs.bzl
CMakeLists.txt Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
composer.json
conanfile.py
CONTRIBUTING.md
LICENSE.txt
package.json
pom.xml Enforce matching version in Java and C#. 2019-05-31 12:15:19 -07:00
readme.md
WORKSPACE Fix compatability with Bazel 0.27 (#5412) 2019-06-20 10:25:41 -07:00

logo FlatBuffers

Join the chat at https://gitter.im/google/flatbuffers Build Status Build status

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.

Licensing

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