Luv Kumar
07/19/2025, 11:33 PM// commonMain
expect class PlatformStream
// iosMain
actual typealias PlatformStream = NSInputStream
// androidMain
actual typealias PlatformStream = InputStream
android main doesn't work because InputStream is abstract and if i make commonMain abstract, iosMain will give issue. I can subclass InputStream but that is something i want to avoid in order to have a clean api as this will be exposed via a library i am working on.Luv Kumar
07/19/2025, 11:47 PMagrosner
07/20/2025, 12:15 AMLuv Kumar
07/20/2025, 11:32 AMReadableStream
it anyways gets tricky i think. Hence l am looking if i can make above work somehow.