mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-13 06:30:13 +08:00
gradle init
This commit is contained in:
parent
7c4263da0f
commit
6b6499e929
@ -0,0 +1,18 @@
|
||||
package net.mamoe.mirai.qqandroid.network.io
|
||||
|
||||
import kotlinx.io.core.Input
|
||||
|
||||
@UseExperimental(ExperimentalUnsignedTypes::class)
|
||||
inline class JceHead(private val value: Long) {
|
||||
val tag: Int get() = (value ushr 32).toInt()
|
||||
val type: Int get() = value.toUInt().toInt()
|
||||
}
|
||||
|
||||
class JceInput(
|
||||
private val input: Input
|
||||
): Input by input {
|
||||
|
||||
private fun readHead(): JceHead {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user