# std.io: call the idiomatic std.mem.readInt functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 8768816d69ddf3253d2598923643f390cc18082c

Requested commit: 8768816d69ddf3253d2598923643f390cc18082c

Commit: 8768816d69ddf3253d2598923643f390cc18082c

Tree: 8e2962aa68bacc59a0253a9d039759b20de639b0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.io: call the idiomatic std.mem.readInt functions

I originally called the Slice variants to work around
comptime code not supporting `@ptrCast`, but I fixed that
in 757d0665 so now the workaround is no longer needed.

```

## Parents

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

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