1. 04 Feb, 2015 2 commits
    • 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
    • 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
  2. 02 Feb, 2015 4 commits
  3. 28 Jan, 2015 1 commit
  4. 26 Jan, 2015 7 commits
  5. 21 Jan, 2015 1 commit
  6. 16 Jan, 2015 5 commits
  7. 08 Jan, 2015 1 commit
  8. 07 Jan, 2015 10 commits
  9. 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
  10. 09 Dec, 2014 8 commits