• 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
Name
Last commit
Last update
..
Constants.java Loading commit data...
FlatBufferBuilder.java Loading commit data...
Struct.java Loading commit data...
Table.java Loading commit data...