Files
rk35xx-android14/external/okio/docs/multiplatform.md
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

41 lines
868 B
Markdown

Multiplatform
=============
Okio is a [Kotlin Multiplatform][kotlin_multiplatform] project. We're still completing our feature
coverage.
### Compression (Deflater, Inflater, Gzip)
JVM-only.
### Concurrency (Pipe, Timeouts, Throttler)
JVM-only.
Timeout is on all platforms, but only the JVM has a useful implementation.
### Core (Buffer, ByteString, Source, Sink)
Available on all platforms.
### File System
Available on all platforms. For JavaScript this requires [Node.js][node_js].
### Hashing
Okio includes Kotlin implementations of MD5, SHA-1, SHA-256, and SHA-512. This includes both hash
functions and HMAC functions.
Okio uses the built-in implementations of these functions on the JVM.
[kotlin_multiplatform]: https://kotlinlang.org/docs/reference/multiplatform.html
[mingw]: http://www.mingw.org/
[node_js]: https://nodejs.org/api/fs.html