mirai-core / net.mamoe.mirai.utils / java.io.InputStream / suspendToExternalImage

suspendToExternalImage

suspend fun InputStream.suspendToExternalImage(): ExternalImage

IO 中进行 InputStream.toExternalImage