ãããCompressionStreamã¯ãã®åã®éãWeb Stream APIãªã®ã§ã©ãé å¼µã£ã¦ãåºåã¯éåæã§ãããªã®ã§é¢æ°åã¨å¼æ°ã¯åãã§ããæ»ãå¤ã¯Promise<string>ã«ãªãã¾ãã ã¾ããã¢ã«ã´ãªãºã ãéãã®ã§äºæã¯ããã¾ãããä»ã¾ã§lz-stringã§å§ç¸®ã»è§£åãã¦ããç®æããããªãCompressionStreamçã«ç½®ãæãã¦ãæ©è½ãã¾ããã®ã§ã注æãã ããã ã¡ãªã¿ã«ãlz-stringã®å§ç¸®ã¢ã«ã´ãªãºã ã¯ããã¥ã¡ã³ãã§LZ-basedã¨æ¸ããã¦ãããããããä½è ç¬èªã®ã¢ã«ã´ãªãºã ã§ãã CompressionStreamã§é¸æã§ããã¢ã«ã´ãªãºã ï¼èªå¼ããï¼ã¯ gzip, deflate, deflate-rawã§ããgzipã¯gzipã§ãããdeflateã¯zlibã§deflate-rawãç´ç²ãªdeflateã§ããå½åã«ã¤ãã¦ã¯æ´å²ççµç·¯ãããããã§ãã å
ãã®è¨äºã§ã¯ã Web API ã§æååã®å¯éå§ç¸®ãè¡ãæ¹æ³ã«ã¤ãã¦æ¸ãã¦ããã ä»»æã®æååãå§ç¸®ããããã¦å§ç¸®ãããæååã®ãªãã©ã«è¡¨ç¾ããå ã®æååã復å ã§ãããã¨ãç®æãã 以åæ¸ããããã«ã Node.js ãªãæååã®å¯éå§ç¸®ã¯ç°¡åã«è¡ããã numb86-tech.hatenablog.com ã¾ãã JavaScript ã§ãã¼ã¿ã®å§ç¸®ãè¡ãããã®ã©ã¤ãã©ãªããæ¢ãã¦ã¿ãã°è²ã ã¨è¦ã¤ããã ã ããã®è¨äºã§ã¯ããã©ã¦ã¶ç°å¢ã§ãåä½ããã³ã¼ãããã©ã¤ãã©ãªã«é ¼ããã«å®è£ ãã¦ããã å®æããã³ã¼ãã¯ææç©ã®ç¯ã«è¼ãã¦ããã ãã®è¨äºã«åºã¦ããã³ã¼ãã®åä½ç¢ºèªã¯ä»¥ä¸ã®ç°å¢ã§è¡ã£ãã Deno 1.29.1 TypeScript 4.9.4 Compression Streams API Compression Streams API ã¯ããã¼ã¿ã®å§ç¸®ãå±éãè¡ãããã® API ã§ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}