mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-07 16:40:43 +08:00
bfda72e58f
* 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> |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts | ||
README.md |
mirai-core
mirai 的核心公开 API.
mirai 为多协议设计, mirai-core
只提供基础框架和抽象数据类.
具体的各协议实现为 mirai-core-PROTOCOL
, 这些协议模块都继承自 mirai-core
.
可用的协议模块:
mirai-core-qqandroid
: Android QQ 8.3.0 版本协议实现.