toByteArray



suspend fun ByteArrayFlow.toByteArray(maxSize: Long): ByteArray?

Returns null, when maxSize exceeded.