diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-02-03 14:23:51 -0800 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2024-02-24 14:04:58 -0800 |
| commit | 4ee1309a8d261360c5b80a9533535231b60780f5 (patch) | |
| tree | 5d278233be6e57e07631ce02d5d93cd95be636fe /lib/std/fmt/parse_float | |
| parent | b344ff01d380d85256929b6be2428d3c022a8580 (diff) | |
| download | zig-4ee1309a8d261360c5b80a9533535231b60780f5.tar.gz zig-4ee1309a8d261360c5b80a9533535231b60780f5.zip | |
std.unicode: Refactor and add WTF-16/WTF-8 functions
Renamed functions for consistent `Le` capitalization and conventions:
- utf16leToUtf8Alloc -> utf16LeToUtf8Alloc
- utf16leToUtf8AllocZ -> utf16LeToUtf8AllocZ
- utf16leToUtf8 -> utf16LeToUtf8
- utf8ToUtf16LeWithNull -> utf8ToUtf16LeAllocZ
- fmtUtf16le -> fmtUtf16Le
New UTF related functions:
- utf16LeToUtf8ArrayList
- utf8ToUtf16LeArrayList
- utf8ToUtf16LeAlloc
- isSurrogateCodepoint
(the ArrayList functions are mostly to allow the Alloc and AllocZ to share an implementation)
New WTF related functions/structs:
- wtf8Encode
- wtf8Decode
- wtf8ValidateSlice
- Wtf8View
- Wtf8Iterator
- wtf16LeToWtf8ArrayList
- wtf16LeToWtf8Alloc
- wtf16LeToWtf8AllocZ
- wtf16LeToWtf8
- wtf8ToWtf16LeArrayList
- wtf8ToWtf16LeAlloc
- wtf8ToWtf16LeAllocZ
- wtf8ToWtf16Le
- wtf8ToUtf8Lossy
- wtf8ToUtf8LossyAlloc
- wtf8ToUtf8LossyAllocZ
- Wtf16LeIterator
Diffstat (limited to 'lib/std/fmt/parse_float')
0 files changed, 0 insertions, 0 deletions
