02dfa64a89f46588c6de34e59a310fab98e73f9d |
|
09-Sep-2016 |
Alberto Fernández <albertofem@gmail.com> |
Allow access to underlying ByteBuffer
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
52ca75506abd82b5616bdef4d28e9535262c1d65 |
|
13-Aug-2016 |
Wouter van Oortmerssen <aardappel@gmail.com> |
Switched C# accessors from classes to structs
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
cd1493b0829b48407887844921ef0e040c0f485a |
|
26-May-2016 |
lakedaemon <olivier.binda@wanadoo.fr> |
sharing the Flatbuffers warning
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
e083e466b85c1ae512193cee74e0dbd60be5ab87 |
|
05-Oct-2015 |
Michael Collins <michael.collins@neudesic.com> |
Add Get Bytes Method Generator for C# I updated idl_gen_general.cpp to add support for generating a Get Bytes method for a vector to the generated C# source code. Given a byte vector field named Foo, a method named GetFooBytes() will be generated in the C# source code that will return an ArraySegment<byte> value referencing the vector data in the underlying ByteBuffer. I added a method to Table.cs named __vector_as_arraysegment that is used by the code generated by the change to the C# generator. __vector_as_arraysegment will take the offset of the vector and will return the ArraySegment<byte> value corresponding to the bytes that store the vector data. I updated FlatBuffersExampleTests.cs to add tests to validate my implementation of Table.__vector_as_arraysegment. I added tests to demonstrate that the bytes for the monster's name can be extracted from the underlying byte array. I also added tests to show that Table.__vector_as_arraysegment returns a null value if the vector is not present in the FlatBuffer. I used the updated flatc.exe program to regenerate the C# source files for the MyGame example. The new Monster class includes the GetXXXBytes methods to return the byte arrays containing data for vectors.
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
b062af4c8cbef7cff1c2092ea0a73c113488d591 |
|
07-Aug-2015 |
Maor Itzkovitch <maor.tt@gmail.com> |
rebased fork
|
e24afd838aedabb782b46091d33485360d176608 |
|
01-Aug-2015 |
Maor Itzkovitch <maor.tt@gmail.com> |
extended scalar mutator support
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
81c2b185efcc729777d86815577cd6ebdd7e15c4 |
|
31-Jul-2015 |
Maor Itzkovitch <maor.tt@gmail.com> |
support for scalar mutators
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
588564d74f2968808557d96b6f71e5dc7cd62622 |
|
28-Jul-2015 |
RevenantX <doomrevx@gmail.com> |
Base type safety in C#. Clear FlatBufferBuilder in C#.
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
0ee1b99c5d38636c2ab8eb8e05dcd42b328c0cca |
|
06-May-2015 |
Mormegil <mormegil@centrum.cz> |
[BREAKING CHANGE] Field accessors should use property getters in C# In C#, plain field accessors should not be nonparametric methods but should be standard property getters. The accessor methods with parameters were renamed to `GetXxx` because a method cannot be named identically to a property. Also, `ByteBuffer.Position`, `FlatBufferBuilder.Offset` and `FlatBufferBuilder.DataBuffer` are now properties instead of nonparametric accessor methods, for more idiomatic C# style. This is a breaking change, all client C# code accessing these fields needs to be changed (i.e. remove those `()` or add the `Get` prefix). Issue: #77 Change-Id: Iaabe9ada076e5ea2c69911cf6170fdda2df3487e
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
557c57eb9d9d58a86fe1e80552219930c82fe7f4 |
|
07-Apr-2015 |
Advay Mengle <advay.mengle.dev1@gmail.com> |
Seal all classes in Java/C# Makes enums/structs/tables unsubclassable (final or sealed) and prevents instantiation of enum classes (which are solely static constants). Tested (Mac OS 10.10.2): 1. run flattests 2. cd tests && ../flatc -c monster_test.fbs && ../flatc -j monster_test.fbs && ../flatc -g monster_test.fbs && ../flatc -n monster_test.fbs # Note deltas for C# and Java. 3. ./JavaTest.sh **Breaking api change** Change-Id: Ie008c941c36d212690da58ddc72c9b228eb7a093
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
557c88c0396220e79e9a43c07f8393a5c68b739d |
|
17-Sep-2014 |
Wouter van Oortmerssen <wvo@google.com> |
Refactored the Java and C# code generators into one. Also made the C# implementation support unsigned types, and made it more like the Java version. Bug: 17359988 Change-Id: If5305c08cd5c97f35426639516ce05e53bbec36c Tested: on Linux and Windows.
/external/flatbuffers/tests/MyGame/Example/Test.cs
|
9a1f7be6fd318ddd9545926b5925cf0a10a083e4 |
|
09-Sep-2014 |
evolutional <oli@evolutional.co.uk> |
Initial commit of .NET port of FlatBuffers Include C# codegen in flatc and .NET FlatBuffer access via the FlatBufferBuilder class Tested: on Windows. Change-Id: If5228a8df60a10e0751b245c6c64530264ea2d8a
/external/flatbuffers/tests/MyGame/Example/Test.cs
|