write

abstract fun write(dir: Directory, info: 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