createJumpTable

fun createJumpTable(slice: IndexInput, offset: Long, length: Long, jumpTableEntryCount: Int): RandomAccessInput?

Helper method for using .IndexedDISI. Creates a RandomAccessInput covering only the jump-table data or null.

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.

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.