From: Ardis Lu Date: Wed, 8 May 2024 06:59:17 +0000 (-0700) Subject: Re-add type: 'bytes' option X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=9a4cea42d4b0ed8d7e183787d37a9b92a50ec451;p=targz Re-add type: 'bytes' option This is required to use ReadableStreamBYOBReader to untar the stream later --- diff --git a/index.html b/index.html index c6f62a7..fbb44e5 100644 --- a/index.html +++ b/index.html @@ -136,7 +136,8 @@ // End of tar is marked by 1024 null bytes controller.enqueue(new Uint8Array(1024)); controller.close(); - } + }, + type: 'bytes' }); }