rtf-io-kotlinx
Adapts a kotlinx-io Source to the RtfSource the parser reads from, so you can parse straight from a stream without buffering the whole document into a ByteArray first.
import com.darkrockstudios.libs.rtfparserkmp.io.asRtfSource
import com.darkrockstudios.libs.rtfparserkmp.parser.standard.StandardRtfParser
StandardRtfParser().parse(source.asRtfSource(), listener) // source: kotlinx-io SourceContent copied to clipboard