Improve performance

This commit is contained in:
Him188 2020-02-12 23:09:34 +08:00
parent 348d13a4c1
commit fec3702ba9
2 changed files with 9 additions and 0 deletions

View File

@ -94,3 +94,7 @@ actual fun ByteArray.unzip(offset: Int, length: Int): ByteArray {
}
}
/**
* 时间戳
*/
actual val currentTimeMillis: Long get() = System.currentTimeMillis()

View File

@ -74,3 +74,8 @@ actual fun ByteArray.unzip(offset: Int, length: Int): ByteArray {
return output.toByteArray()
}
}
/**
* 时间戳
*/
actual val currentTimeMillis: Long get() = System.currentTimeMillis()