xs4s.fs2compat

Type members

Classlikes

trait Fs2Syntax

Utilities to enhance xs4s interaction with FS2

Utilities to enhance xs4s interaction with FS2

Value members

Concrete methods

def byteStreamToXmlEventStream[F[_]](xmlInputFactory: XMLInputFactory, chunkSize: Int)(implicit evidence$1: Async[F], F: Sync[F]): (F, Byte) => XMLEvent

Turns an FS2 Byte Stream into a stream of XMLEvent. It turns the source stream into an input stream, then creates a reader, and then creates a further stream from the Iterator that was obtained.

Turns an FS2 Byte Stream into a stream of XMLEvent. It turns the source stream into an input stream, then creates a reader, and then creates a further stream from the Iterator that was obtained.