# flate: use 4 bytes lookahead for zlib · gitcafe/zig

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

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

Visibility: public

Requested revision: f2508abfa6461b4d28d6a8b1d72026810ff30a21

Requested commit: f2508abfa6461b4d28d6a8b1d72026810ff30a21

Commit: f2508abfa6461b4d28d6a8b1d72026810ff30a21

Tree: 721b09e4c2ea229691d875f5aae51bd2750a422b

Author: Igor Anić

Committer: Igor Anić

## Message

```
flate: use 4 bytes lookahead for zlib

That ensures no bytes are left in the BitReader buffer after we reach
end of the stream.

```

## Parents

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

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