# 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/53f298cffa5bbec4c4faa854afb56a5f2e23de48)

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

Visibility: public

Requested revision: 53f298cffa5bbec4c4faa854afb56a5f2e23de48

Requested commit: 53f298cffa5bbec4c4faa854afb56a5f2e23de48

Commit: 53f298cffa5bbec4c4faa854afb56a5f2e23de48

Tree: f48acdfea45ef83447b590d347275dcac88b85d6

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

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

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