@Internal public final class SavedByTable extends java.lang.Object
Constructor and Description |
---|
SavedByTable(byte[] tableStream,
int offset,
int size)
Constructor to read the table from the table stream.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SavedByEntry> |
getEntries()
Gets the entries.
|
void |
writeTo(java.io.ByteArrayOutputStream tableStream)
Writes this table to the table stream.
|
public SavedByTable(byte[] tableStream, int offset, int size)
tableStream
- the table stream.offset
- the offset into the byte array.size
- the size of the table in the byte array.public java.util.List<SavedByEntry> getEntries()
public void writeTo(java.io.ByteArrayOutputStream tableStream) throws java.io.IOException
tableStream
- the table stream to write to.java.io.IOException
- if an error occurs while writing.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.