commit | cd88e6b2aa35b7e97f8146be8115a8ff420b1215 | [log] [tgz] |
---|---|---|
author | Paulo Pinheiro <paulovictor.pinheiro@gmail.com> | Fri Feb 21 19:46:40 2020 |
committer | GitHub <noreply@github.com> | Fri Feb 21 19:46:40 2020 |
tree | da788535f9b581354cc55787a580d955e0c4f85c | |
parent | 3ec7a53c62520cbf66c81ef8434fb2ba61ded7c0 [diff] |
[Java][FlexBuffers] Abstract buffer access from ByteBuffer (#5743) To read and build flexbuffers on Java, one needs to wrap the data using ByteBuffer. But for the common case of having ByteBuffers backed by arrays, accessing from a ByteBuffer might be inefficient. So this change introduces two interfaces: ReadBuf and ReadWriteBuf. It allows one to read and writes data directly on an array. It also allow other buffer implementations to be used with flexbuffers. Another change is that FlexBuffersBuilder backed by array allows the buffer to grow with the increase of the message size. Something that could not be done with ByteBuffer.
FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.
Go to our landing page to browse our documentation.
and more in progress...
flatbuffers
tag for any questions regarding FlatBuffers.To contribute to this project, see CONTRIBUTING.
Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.