forked from recloudstream/cloudstream
Update M3u8Helper.kt
This commit is contained in:
parent
b788da1bd4
commit
b78fdcdce4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class M3u8Helper {
|
|||
} else null
|
||||
}
|
||||
|
||||
fun toBytes16Big(n: Int): ByteArray {
|
||||
private fun toBytes16Big(n: Int): ByteArray {
|
||||
return ByteArray(16) {
|
||||
val fixed = n / 256.0.pow((15 - it))
|
||||
(maxOf(0, fixed.toInt()) % 256).toByte()
|
||||
|
|
Loading…
Reference in a new issue