serializable and hashable BitArray. Comparable BitList. Small improvements
This commit is contained in:
1 parent
2696f1546d
commit
3481a718b1
11 files changed
+80
-14
No files matched your search
@@ -18,7 +18,6 @@
|
||||
package net.sergeych.lynon
|
||||
|
||||
import net.sergeych.collections.SortedList
|
||||
import net.sergeych.lynon.Huffman.Alphabet
|
||||
|
||||
|
||||
/**
|
||||
@@ -285,7 +284,7 @@ object Huffman {
|
||||
|
||||
fun <T>decompress(bin: BitInput,alphabet: Alphabet<T>): UByteArray {
|
||||
val codes = deserializeCanonicCodes(bin, alphabet)
|
||||
return decompressUsingCodes(bin, codes, alphabet).asUbyteArray()
|
||||
return decompressUsingCodes(bin, codes, alphabet).asUByteArray()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user