# fix reading input stream during decompression · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f81b3a2095248e3dbb8b422d693dc752828dc94d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f81b3a2095248e3dbb8b422d693dc752828dc94d

Requested commit: f81b3a2095248e3dbb8b422d693dc752828dc94d

Commit: f81b3a2095248e3dbb8b422d693dc752828dc94d

Tree: 2cd2000ee076c22269bcffdf0628c63e1d526bf1

Author: Igor Anić

Committer: Igor Anić

## Message

```
fix reading input stream during decompression

By using read instead of readAll decompression reader could get bytes
then available in the stream and then later wrongly failed with end of
stream.

```

## Parents

- [cb3fe277bbbdcf432530cd0a1f3d05d3d924675b](https://git.cafe/gitcafe/zig/commit/cb3fe277bbbdcf432530cd0a1f3d05d3d924675b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f81b3a2095248e3dbb8b422d693dc752828dc94d?format=markdown)
