# std.compress.zstd: fix endianness issue · gitcafe/zig

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

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

Visibility: public

Requested revision: 13e08ea6f0fe6caa4ab0a0e6795f6864c96b9336

Requested commit: 13e08ea6f0fe6caa4ab0a0e6795f6864c96b9336

Commit: 13e08ea6f0fe6caa4ab0a0e6795f6864c96b9336

Tree: 8b698b2c9c50743ff10cfe2d08188f8a47776c47

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.compress.zstd: fix endianness issue

instead of manually bitcast, use the handy dandy takeStruct function.

```

## Parents

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

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