mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-08 01:42:28 +08:00
Updated readme
This commit is contained in:
parent
ae73cb0f2b
commit
3549e666c5
@ -45,9 +45,6 @@ fun UByteArray.toUHexString(): String = this.toUHexString(" ")
|
||||
@ExperimentalUnsignedTypes
|
||||
fun Byte.toUHexString(): String = this.toUByte().toString(16)
|
||||
|
||||
/**
|
||||
* firstly [Protocol.hexToUBytes], secondly [UByteArray.toByteArray]
|
||||
*/
|
||||
@ExperimentalUnsignedTypes
|
||||
fun String.hexToBytes(): ByteArray = Protocol.hexToBytes(this)
|
||||
|
||||
@ -99,8 +96,6 @@ internal fun getCrc32(key: ByteArray): Int = CRC32().let { it.update(key); it.va
|
||||
* 相当于将这个类和它所有父类的 [Class.getDeclaredFields] 都合并成一个 [List] <br></br>
|
||||
* 不会排除重名的字段. <br></br>
|
||||
*
|
||||
* @param clazz class
|
||||
*
|
||||
* @return field list
|
||||
*/
|
||||
@Throws(SecurityException::class)
|
||||
|
Loading…
Reference in New Issue
Block a user