wrap

fun wrap(sliceDescription: String, other: IndexInput, offset: Long, length: Long): BufferedIndexInput

Wraps a portion of another IndexInput with buffering.

Please note: This is in most cases ineffective, because it may double buffer!