{"ScriptPreparationCode":"var enc = new TextEncoder();\r\nvar a = new Uint8Array([100 * 1024]);\r\nfor (var i; i \u003C 100 * 1024; i\u002B\u002B)\r\n a[i] = Math.floor(Math.random() * 256)\r\n\r\nvar deflate = new Zlib.RawDeflate(a);\r\nvar ca = deflate.compress();","TestCases":[{"Name":"Default","Code":"var inflate = new Zlib.RawInflate(ca);\r\nvar plain = inflate.decompress();","IsDeferred":false},{"Name":"Block Size 32","Code":"var inflate = new Zlib.RawInflate(ca,{\r\n bufferType : Zlib.RawInflate.BufferType.BLOCK,\r\n bufferSize : 32 \r\n});\r\nvar plain = inflate.decompress();","IsDeferred":false},{"Name":"Block Size 64","Code":"var inflate = new Zlib.RawInflate(ca,{\r\n bufferType : Zlib.RawInflate.BufferType.BLOCK,\r\n bufferSize : 64 \r\n});\r\nvar plain = inflate.decompress();","IsDeferred":false},{"Name":"Block Size 128","Code":"var inflate = new Zlib.RawInflate(ca,{\r\n bufferType : Zlib.RawInflate.BufferType.BLOCK,\r\n bufferSize : 128 \r\n});\r\nvar plain = inflate.decompress();","IsDeferred":false},{"Name":"Block Size 256","Code":"var inflate = new Zlib.RawInflate(ca,{\r\n bufferType : Zlib.RawInflate.BufferType.BLOCK,\r\n bufferSize : 256 \r\n});\r\nvar plain = inflate.decompress();","IsDeferred":false},{"Name":"Block Size 512","Code":"var inflate = new Zlib.RawInflate(ca,{\r\n bufferType : Zlib.RawInflate.BufferType.BLOCK,\r\n bufferSize : 512 \r\n});\r\nvar plain = inflate.decompress();","IsDeferred":false},{"Name":"Block Size 1024","Code":"var inflate = new Zlib.RawInflate(ca,{\r\n bufferType : Zlib.RawInflate.BufferType.BLOCK,\r\n bufferSize : 1024 \r\n});\r\nvar plain = inflate.decompress();","IsDeferred":false},{"Name":"Block Size 2048","Code":"var inflate = new Zlib.RawInflate(ca,{\r\n bufferType : Zlib.RawInflate.BufferType.BLOCK,\r\n bufferSize : 2048 \r\n});\r\nvar plain = inflate.decompress();","IsDeferred":false},{"Name":"Block Size 4096","Code":"var inflate = new Zlib.RawInflate(ca,{\r\n bufferType : Zlib.RawInflate.BufferType.BLOCK,\r\n bufferSize : 4096 \r\n});\r\nvar plain = inflate.decompress();","IsDeferred":false}]}