Use WebpSanitizer.

This commit is contained in:
Cody Henthorne
2024-01-17 09:42:32 -05:00
committed by Greyson Parrelli
parent debf964b5f
commit 15afaeabe3
56 changed files with 32 additions and 936 deletions

View File

@@ -70,7 +70,7 @@ fun InputStream.readNBytesOrThrow(length: Int): ByteArray {
}
@Throws(IOException::class)
fun InputStream.readLength(): Long? {
fun InputStream.readLength(): Long {
val buffer = ByteArray(4096)
var count = 0L