Fix typo
This commit is contained in:
parent
0ebf48dd29
commit
b5bff780bb
@ -17,7 +17,7 @@ class WTC {
|
||||
private val VERSION_HEADER_BYTE_ARRAY = byteArrayOf((CURRENT_VERSION_HEADER.toInt() and 0xFF).toByte(), ((CURRENT_VERSION_HEADER.toInt() shr 8) and 0xFF).toByte())
|
||||
|
||||
fun compress(stream: String): ByteArray {
|
||||
val lists = seperate(stream)
|
||||
val lists = separate(stream)
|
||||
|
||||
val xs = unsortedDiffPackShortsToBytes(lists.x)
|
||||
val ys = unsortedDiffPackShortsToBytes(lists.y)
|
||||
@ -188,7 +188,7 @@ class WTC {
|
||||
return unpacked.toIntArray()
|
||||
}
|
||||
|
||||
private fun seperate(stream: String): FrameLists {
|
||||
private fun separate(stream: String): FrameLists {
|
||||
val frames = stream.split(',')
|
||||
val frameCount = frames.size
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user