emscripten-core / emscripten-core/emscripten

How to unzip using fetch API

Open
#13,620 1 comment 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

I've followed the documentation of Fetch API in https://emscripten.org/docs/api_reference/fetch.html
to fetch the contents from my local server in "https://xxx/text_rendering.glb.gz"

The fetch api returns 364155 bytes of data

What i want to achieve is to get the glb buffer.. i guess i might need to unzip to get the buffer or it returns the unzipped buffer?

Can anyone help with this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.