# remove \[\]u8 casting syntax\. add \`@bytesToSlice\` and \`@sliceToBytes\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 1aafbae5be518309b4c2194cdc24e22642514519

Requested commit: 1aafbae5be518309b4c2194cdc24e22642514519

Commit: 1aafbae5be518309b4c2194cdc24e22642514519

Tree: 76146de4441517dbb0125364e3423ce3af12a49e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes`

See #1061

```

## Parents

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

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