write

open override fun write(dir: Directory, si: SegmentInfo, ioContext: IOContext)

Write SegmentInfo data. The codec must add its SegmentInfo filename(s) to info before doing i/o.

Throws

IOException

If an I/O error occurs