# pointers with bit offset contain length · gitcafe/zig

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

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

Visibility: public

Requested revision: 0148f39df929cc00c1b2231acce41c22f74f9969

Requested commit: 0148f39df929cc00c1b2231acce41c22f74f9969

Commit: 0148f39df929cc00c1b2231acce41c22f74f9969

Tree: 6b7904248232572d9edc5b69b74a67c166bb8008

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
pointers with bit offset contain length

adds compile error when passing pointer that is byte-aligned
at the beginning but not the end to a function expecting
a fully byte aligned pointer

closes #261

```

## Parents

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

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