ã¢ãã³ãªãã©ã¦ã¶ã¯ JS API ã¨ã㦠gzip ã deflate ã使ãã¾ãã æãã Chrome ã«æè¼ãã¦ãã®ã¯ç¥ã£ã¦ããã§ãããä»è¦ããã ãããæè¼ãã¦ã¾ããã ããã£ã¦ã人åãã«è¨ãã¨ããã³ãã«ãµã¤ãºå¤§ããã® JSå®è£ ã® pako ã zlib.js ãä¸è¦ã«ãªã£ã¦ããã©ã¦ã¶ãã¤ãã£ãã®(ãã¶ãHTTPä¸ã®gzipå±éã¨åçã®)é«éãªå®è£ ã使ãã¾ãã // impl const encoder = new TextEncoder(); const decoder = new TextDecoder(); export async function compress(str: string): Promise<ArrayBuffer> { const cs = new CompressionStream("gzip"); const buf = encoder.encode(

{{#tags}}- {{label}}
{{/tags}}