add
fun add( record: ByteArray, start: Int = 0, length: Int = record.size): Long
Content copied to clipboard
Add a portion of the given record to the indexed file. Do not commit the data.
Return
The zero-based index of the record that was added.
Parameters
record
The record which contains data that should be added to the indexed file.
start
The start position within the record of the source data.
length
The size of the source data, in bytes.
Throws
If the specified index is not equal to the size of the indexed file.
If something else goes wrong.