mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-09 19:26:58 +08:00
* ExternalResource fundamentals: - Introduce ExternalResource - Migrate functions - Move utilities to mirai-core-utils * Fix build * Fix filename and misc improvements * Close file on ExternalResource.close; Reset filePointer to 0 on stream close * Rearrange image extensions * Fix tests * Fix build * toExternalResource: formatName = null by default * Reduce unnecessary continuations * Fix ExternalResourceImplByFileWithMd5.inputStream * ExternalResource: Remove BufferedImage support * Don't close stream on image upload; Unified closing behaviorImprove; Improve FileCacheStrategy; * Fix createImageDataPacketSequence closing * Fix image upload, change size to long * Fix docs * Rename SendImageUtilsJvmKt to SendResourceUtilsJvmKt * Run BIO appropriately * Postpone file detection on formatName getter * Fix SendResourceUtilsJvmKt JvmName Co-authored-by: Karlatemp <karlatemp@vip.qq.com> |
||
---|---|---|
.. | ||
utils/crypto | ||
package.kt |