mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-03 12:21:23 +00:00
This commit is contained in:
@@ -5,6 +5,13 @@ package com.google.flatbuffers;
|
||||
* FlexBuffers message.
|
||||
*/
|
||||
interface ReadWriteBuf extends ReadBuf {
|
||||
|
||||
/**
|
||||
* Clears (resets) the buffer so that it can be reused. Write position will be set to the
|
||||
* start.
|
||||
*/
|
||||
void clear();
|
||||
|
||||
/**
|
||||
* Put a boolean into the buffer at {@code writePosition()} . Booleans as stored as single
|
||||
* byte. Write position will be incremented.
|
||||
|
||||
Reference in New Issue
Block a user