Is there a MPP equivalent to `ByteArrayOutputStream` ? Something that: - I can write to - Grows auto...
m
Is there a MPP equivalent to
ByteArrayOutputStream
? Something that: • I can write to • Grows automatically • I can get a
ByteArray
from once I'm done
d
I think Okio has something.
m
Is okio multiplatform nowadays ?
But I doubt it'll do what I want. IIRC okio uses "segments" and I need a contiguous
ByteArray
to feed ktor
I ended up writing my own for now