Skip to content

Commit

Permalink
Make JVM implementation Java 8 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Nov 6, 2024
1 parent b052fdb commit 0a6bbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/jvmMain/kotlin/ZstdDecompressor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal actual fun ZstdDecompressor() = object : Decompressor {

override fun Frame.decompress(): String {
input.updateDelegate(data)
return zstdStream.readAllBytes().decodeToString()
return zstdStream.readBytes().decodeToString()
}

override fun close() {
Expand Down

0 comments on commit 0a6bbb8

Please sign in to comment.