Package-level declarations

Types

Link copied to clipboard
interface IKmpIoClosable
Link copied to clipboard

Receives a stream of bytes that allows easy writing of multiple data types

Link copied to clipboard

Supplies a stream of bytes that allows easy reading of multiple data types

Link copied to clipboard
sealed class KmpIoError : Throwable
Link copied to clipboard
class OkIoKmpIoSink(sink: Sink) : IKmpIoSink
Link copied to clipboard
class OkIoKmpIoSource(source: Source) : IKmpIoSource

Functions

Link copied to clipboard
fun NSOutputStream.sink(): Sink
Link copied to clipboard
fun NSInputStream.source(): Source
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline suspend fun <T : IKmpIoClosable, R> T.use(block: (T) -> R): Outcome<R, KmpIoError>