createBlockSlice
fun createBlockSlice(slice: IndexInput, sliceDescription: String, offset: Long, length: Long, jumpTableEntryCount: Int): IndexInput
Helper method for using .IndexedDISI. Creates a disiSlice for the IndexedDISI data blocks, without the jump-table.
Return
a jumpTable containing the block jump-data or null if no such table exists.
Parameters
slice
backing data, holding both blocks and jump-table.
sliceDescription
human readable slice designation.
offset
relative to the backing data.
length
full length of the IndexedDISI, including blocks and jump-table data.
jumpTableEntryCount
the number of blocks covered by the jump-table.
Throws
IOException
if a RandomAccessInput could not be created from slice.