flatbuffers/tests/MyGame/Example
Robert Schmidtke 08cf50c54a Java/C#/Python prefixed size support (#4445)
* initial changes to support size prefixed buffers in Java

* add slice equivalent to CSharp ByteBuffer

* resolve TODO for slicing in CSharp code generation

* add newly generated Java and CSharp test sources

* fix typo in comment

* add FinishSizePrefixed methods to CSharp FlatBufferBuilder as well

* add option to allow writing the prefix as well

* generate size-prefixed monster binary as well

* extend JavaTest to test the size prefixed binary as well

* use constants for size prefix length

* fuse common code for getRootAs and getSizePrefixedRootAs

* pulled file identifier out of if

* add FinishSizePrefixed, GetSizePrefixedRootAs support for Python

* Revert "extend JavaTest to test the size prefixed binary as well"

This reverts commit 68be4420dda47e8d0600bb19691f03be71503a68.

* Revert "generate size-prefixed monster binary as well"

This reverts commit 2939516fdf78df4f061c627221e232b312301417.

* fix ByteBuffer.cs Slice() method; add proper CSharp and Java tests

* fix unused parameter

* increment version number

* pulled out generated methods into separate utility class

* pulled out generated methods into separate utility class for Python

* fix indentation

* remove unnecessary comment

* fix newline and copyright

* add ByteBufferUtil to csproj compilation

* hide ByteBuffer's internal data; track offset into parent's array

* test unsafe versions as well; compile and run in debug mode

* clarify help text for size prefix

* move ByteBuffer slicing behavior to subclass

* fix protection levels

* add size prefix support for text generation

* add ByteBufferSlice to csproj compilation

* revert size prefix handling for nested buffers

* use duplicate instead of slice for removing size prefix

* remove slice subclass and use duplicate for removing size prefix

* remove slice specific tests

* remove superfluous command line option
2018-03-12 11:30:46 -07:00
..
__init__.py
Ability.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Ability.go Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
Ability.java Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
Ability.php Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
Ability.py Support binary search for struct in cpp (#4245) 2017-03-29 09:51:12 -07:00
Any.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Any.go Add EnumNames to Go code 2016-07-25 19:37:16 -07:00
Any.java
Any.php
Any.py
Color.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Color.go Add EnumNames to Go code 2016-07-25 19:37:16 -07:00
Color.java
Color.php
Color.py
Monster.cs Java/C#/Python prefixed size support (#4445) 2018-03-12 11:30:46 -07:00
Monster.go Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643) 2018-03-05 08:40:55 -08:00
Monster.java Java/C#/Python prefixed size support (#4445) 2018-03-12 11:30:46 -07:00
Monster.php Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643) 2018-03-05 08:40:55 -08:00
Monster.py Support attribute "cpp_ptr_type" on table elements marked as "hash" (#4643) 2018-03-05 08:40:55 -08:00
MonsterStorage_grpc.go Re-applied reverted fix, adding missing codegen files. 2017-01-04 10:41:31 -08:00
MonsterStorageGrpc.java Removed date/time from generated code, causing commit polution. 2018-01-18 11:21:10 -08:00
Referrable.cs Fix broken Java/C# codegen 2018-03-05 16:37:04 -08:00
Referrable.go Added missing generated code files. 2018-03-05 15:47:16 -08:00
Referrable.java Fix broken Java/C# codegen 2018-03-05 16:37:04 -08:00
Referrable.php Added missing generated code files. 2018-03-05 15:47:16 -08:00
Referrable.py Added missing generated code files. 2018-03-05 15:47:16 -08:00
Stat.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Stat.go Add a generic way to deserialize a flatbuffer in Go. 2016-08-23 16:38:22 +02:00
Stat.java Java + C#, reuse object in lookup_by_key (#4648) 2018-03-02 15:22:46 -08:00
Stat.php
Stat.py Fix issue #4389, if field is ommitted the return type is the same for… (#4444) 2017-10-05 14:07:42 -07:00
Test.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Test.go Add a generic way to deserialize a flatbuffer in Go. 2016-08-23 16:38:22 +02:00
Test.java Switched C# accessors from classes to structs 2016-08-31 17:34:51 -07:00
Test.php
Test.py
TestSimpleTableWithEnum.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
TestSimpleTableWithEnum.go Add a generic way to deserialize a flatbuffer in Go. 2016-08-23 16:38:22 +02:00
TestSimpleTableWithEnum.java Switched C# accessors from classes to structs 2016-08-31 17:34:51 -07:00
TestSimpleTableWithEnum.php
TestSimpleTableWithEnum.py
TypeAliases.cs Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) 2017-08-02 08:07:43 -07:00
TypeAliases.go Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) 2017-08-02 08:07:43 -07:00
TypeAliases.java Java + C#, reuse object in lookup_by_key (#4648) 2018-03-02 15:22:46 -08:00
TypeAliases.php Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) 2017-08-02 08:07:43 -07:00
TypeAliases.py Add scalar type aliases for int8, uint8, ..., f32, f64 (#4400) 2017-08-02 08:07:43 -07:00
Vec3.cs C#: Added <autogenerated> in cs generator file header comment (#4291) 2017-05-16 14:28:34 -07:00
Vec3.go Add a generic way to deserialize a flatbuffer in Go. 2016-08-23 16:38:22 +02:00
Vec3.java Switched C# accessors from classes to structs 2016-08-31 17:34:51 -07:00
Vec3.php
Vec3.py