# Calculate WTF-8 length before converting instead of converting into an intermediate buffer on the stack · gitcafe/zig

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

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

Visibility: public

Requested revision: 69007f096177143086e28da0dc1a0eff4efcc52c

Requested commit: 69007f096177143086e28da0dc1a0eff4efcc52c

Commit: 69007f096177143086e28da0dc1a0eff4efcc52c

Tree: f5ff3ea30042bc0790f478085fda4413a1f650d2

Author: Michael Pfaff

Committer: Alex Rønne Petersen

## Message

```
Calculate WTF-8 length before converting instead of converting into an intermediate buffer on the stack

```

## Parents

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

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