Make ByteBufferFactory an abstract class in order to make FlatBuffers compatible...
authorEnrico Olivelli <eolivelli@gmail.com>
Mon, 11 Feb 2019 20:02:32 +0000 (21:02 +0100)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 11 Feb 2019 20:02:32 +0000 (21:02 +0100)
commit78fdce28c7faaa792ea8c7005d0a7a3e8c2de364
treee5976fc47cf83396e7dcf6aa3112db8e49743664
parent60e94cf08340abedb0624654381870edc70102c3
Make ByteBufferFactory an abstract class in order to make FlatBuffers compatible with Java7. (#5155)

Introduce a HeapByteBufferFactory singleton instance in order to reduce allocations.
Clarify the usage of LITTLE_ENDIAN ByteBuffers in ByteBufferFactory.
java/com/google/flatbuffers/FlatBufferBuilder.java
tests/JavaTest.java