History log of /external/flatbuffers/net/FlatBuffers/Table.cs
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
52ca75506abd82b5616bdef4d28e9535262c1d65 13-Aug-2016 Wouter van Oortmerssen <aardappel@gmail.com> Switched C# accessors from classes to structs
/external/flatbuffers/net/FlatBuffers/Table.cs
7c69c5dc3d635e29e3442339caa8eb06b8b9775c 26-Aug-2016 TGIshib <justzeddicus@gmail.com> Fix lookupByKey, improve compareStrings
/external/flatbuffers/net/FlatBuffers/Table.cs
9f16090f901c30f872422f60db21a0370dde8bbf 22-Aug-2016 TGIshib <justzeddicus@gmail.com> Improve `LookupByKey` , update docs
/external/flatbuffers/net/FlatBuffers/Table.cs
8fdced4e1141a98fb37e952058874423702347ca 14-Aug-2016 TGIshib <justzeddicus@gmail.com> Update
/external/flatbuffers/net/FlatBuffers/Table.cs
dc7f5bc0d80730ef45b368be90ac1208c1394707 03-Aug-2016 TGIshib <justzeddicus@gmail.com> Remake
/external/flatbuffers/net/FlatBuffers/Table.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/net/FlatBuffers/Table.cs
b98f526b8aecf4740f59ffb0dbc9f4b6a749a2d8 10-Nov-2015 Shuhei Taunma <chobieee@gmail.com> (C#) Add ByteBuffer property to Table
/external/flatbuffers/net/FlatBuffers/Table.cs
221193eaa2a92d6c8f1e8c149c418b0add55b2a5 15-Apr-2015 Mormegil <mormegil@centrum.cz> Union accessors in C# should use generic type for the table

When accessing a union field, we should return the same object type
as was given to the method, i.e. the parameter should have a generic
type for any Table-derived type. This way, we do not need to make
superfluous casts (which also reduce type safety) like

var myUnionType = (MyUnionType)buff.GetUnionField(new MyUnionType());

when we can do just
var myUnionType = buff.GetUnionField(new MyUnionType());

Change-Id: Idac1b638e46cc50b1f2dc19f10741481202b1515
/external/flatbuffers/net/FlatBuffers/Table.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/net/FlatBuffers/Table.cs
71e97b712306980f95a86e6770b0dd18c9915593 18-Feb-2015 Grégoire Astruc <gregoire.astruc@gmail.com> Fixed C# Table.cs to work with Mono.

Cast to short for mono compatibility.

Change-Id: I568059a21369b895fa52002fa231f7594f0f736c
/external/flatbuffers/net/FlatBuffers/Table.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/net/FlatBuffers/Table.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/net/FlatBuffers/Table.cs