[FlexBuffer][Java] ReadWriteBuf and ReadBuf interface public (#5948)

Those interfaces need to be public for use cases where the user pass a buffer to FlexBuffers class that is not a ByteBuffer.

This will fix #5944
This commit is contained in:
Paulo Pinheiro
2020-06-08 18:35:51 +02:00
committed by GitHub
parent 2eaf57778c
commit 17c1f35fa0
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ package com.google.flatbuffers;
* Interface to represent a read-write buffer. This interface will be used to access and write
* FlexBuffers message.
*/
interface ReadWriteBuf extends ReadBuf {
public interface ReadWriteBuf extends ReadBuf {
/**
* Clears (resets) the buffer so that it can be reused. Write position will be set to the