Commit graph

3 commits

Author SHA1 Message Date
8855636817
Remove const qualifier in result strings. 2025-01-08 22:28:17 +01:00
eb85754ece
anyasciiWrite with zig writer to avoid unnecessary allocations.
+ Add `anyasciiWrite` which writes to a zig writer directly to avoid unnecessary allocations in some use cases.
+ Use `anyasciiWrite` utf8ToAscii to avoid allocation duplicates in the previous implementation.
2025-01-08 22:14:56 +01:00
6da1ed2e4c
Initial commit.
+ Add anyascii function from its C implementation (`2023-08-01` version).
+ Add utf8ToAscii helper function.
+ Add unit tests.
2025-01-08 19:53:23 +01:00