We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc24f47 commit dd5c1f6Copy full SHA for dd5c1f6
readium/lcp/r2-lcp/src/main/java/org/readium/r2/lcp/LcpDecryptor.kt
@@ -54,7 +54,7 @@ internal class LcpDecryptor(val license: LcpLicense?) {
54
private class FullLcpResource(
55
resource: Resource,
56
private val license: LcpLicense
57
- ) : TransformingResource(resource) {
+ ) : TransformingResource(resource, cacheBytes = true) {
58
59
override suspend fun transform(data: ResourceTry<ByteArray>): ResourceTry<ByteArray> =
60
license.decryptFully(data, resource.link().isDeflated)
0 commit comments