1. 09 Feb, 2015 1 commit
  2. 04 Feb, 2015 4 commits
    • Alex Ames's avatar
    • Florian Enner's avatar
      added reuse option for root objects · b0910e75
      Florian Enner authored
      getRootAs..() function now has a second implementation that
      accepts an existing object to allow object reuse, much like
      all other methods that refer to objects.
      
      Change-Id: Iffef567c903a130761ef7de98867e5465d29a04d
      b0910e75
    • Alex Ames's avatar
      Added new Android build target and makefile utils. · ff1ac8ab
      Alex Ames authored
      Previously Android.mk only had a rule for the Flatbuffers test. There
      is now an empty module definition so that flatbuffers can be included
      as an Android module in other projects.
      
      Additionally, android/jni/include.mk has been added which contains
      some utility functions that can be used by projects using Flatbuffers
      to generate header build rules and set up dependencies.
      
      A sample project has been added to the samples directory to
      demonstrate how to use flatbuffers with Android.
      
      Tested by compiling Android project on Linux.
      
      Change-Id: I25d6da40f6531777b22f7371187e0a2f4e903ad4
      ff1ac8ab
    • pjulien's avatar
      Issue #136 · 4d3db992
      pjulien authored
      The satellite data of the ``ByteBuffer`` cannot be modified in
      any way and stay thread safe in the presence of concurrent readers.
      
      This implementation is simple and does introduce an allocation, however
      without it multiple readers will quickly and continuously encounter
      ``IndexOutOfBoundsException`` exceptions.
      
      An alternative, but possibly more controversial, implementation would
      be to use ``Unsafe``.  Using ``Unsafe``, it's possible to do an
      array copy with a provided buffer index.
      
      Change-Id: I851d4034e753b3be2931ee2249ec2c82dde43135
      4d3db992
  3. 02 Feb, 2015 4 commits
  4. 28 Jan, 2015 1 commit
  5. 26 Jan, 2015 7 commits
  6. 21 Jan, 2015 1 commit
  7. 16 Jan, 2015 5 commits
  8. 08 Jan, 2015 1 commit
  9. 07 Jan, 2015 10 commits
  10. 06 Jan, 2015 1 commit
    • Jon Simantov's avatar
      C#: Allow ByteBuffer to use faster unsafe mode · 4390254e
      Jon Simantov authored
      If your C# runtime environment supports unsafe mode, you can use
      the #define UNSAFE_BYTEBUFFER setting and build the FlatBuffers assembly
      in unsafe mode for greatly increased performance.
      
      Tested: Tested FlatBuffersTest on Windows using VS2010 with both safe
      and unsafe versions. Added ByteBufferTest to test the byte reversing
      functions.
      
      Change-Id: I21334468b339334f9abf4317e6291b648b97f57b
      4390254e
  11. 09 Dec, 2014 5 commits