mirai/mirai-core-api
Him188 bfda72e58f
ExternalResource (#754)
* 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>
2020-12-26 17:36:00 +08:00
..
src ExternalResource (#754) 2020-12-26 17:36:00 +08:00
build.gradle.kts Fix HMPP platform structure 2020-12-18 15:37:13 +08:00
README.md Rearrange module structure: 2020-10-03 12:42:13 +08:00

mirai-core

mirai 的核心公开 API.

mirai 为多协议设计, mirai-core 只提供基础框架和抽象数据类.
具体的各协议实现为 mirai-core-PROTOCOL, 这些协议模块都继承自 mirai-core.

可用的协议模块: