@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.
(tableStream - 表流。)
offset
- the offset into the byte array.
(offset - 字节数组的偏移量。)
size
- the size of the table in the byte array.
(size - 字节数组中表的大小。)
public java.util.List<SavedByEntry> getEntries()
public void writeTo(java.io.ByteArrayOutputStream tableStream) throws java.io.IOException
tableStream
- the table stream to write to.
(tableStream - 要写入的表流。)
java.io.IOException
- if an error occurs while writing.
(java.io.IOException - 如果写入时发生错误。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.