# std.unicode: add utf16 byte length and codepoints counting routines · gitcafe/zig

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

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

Visibility: public

Requested revision: 405f4286f729f395ab1f9eb228fdf9cad9434b7c

Requested commit: 405f4286f729f395ab1f9eb228fdf9cad9434b7c

Commit: 405f4286f729f395ab1f9eb228fdf9cad9434b7c

Tree: 7c4d9d0d31cc2d17008eb94d036ec472aac93bbc

Author: Jan Philipp Hafer

Committer: Jan Philipp Hafer

## Message

```
std.unicode: add utf16 byte length and codepoints counting routines

* comptime and runtime tests are based on tests for counting utf8 code points

```

## Parents

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

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