commit | 689bfafa7e8061dc25f0f4b5e7017a1fecb3ceac | [log] [tgz] |
---|---|---|
author | Anass Al <anassinator@fb.com> | Mon Sep 28 08:54:50 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Sep 28 08:54:50 2020 -0700 |
tree | a8e4f5afc32430ba147de9c7dd7aba6517bf3523 | |
parent | 641309a5bf8370206d5fffea7521270952bb655f [diff] |
[Python/JS/TS] Codegen SizeOf method for structs (#6136) * [Python] Codegen SizeOf classmethod for structs This codegens a `SizeOf()` classmethod for all structs since we can't determine the size of a FlatBuffer generated struct from Python otherwise. * [JS/TS] Codegen sizeOf static method for structs This codegens a `sizeOf()` static method for all structs since we can't determine the size of a FlatBuffer generated struct from JavaScript or TypeScript otherwise.
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.
and more in progress...
flatbuffers
tag for any questions regarding FlatBuffers.To contribute to this project, see CONTRIBUTING.
Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.