I want the wstr package to support pure multi-string UTF-16 block conversion for Win32 APIs that expect…
I want the wstr package to support pure multi-string UTF-16 block conversion for Win32 APIs that expect…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For encoding, EncodeArrToSlice("ab", "cd") should return uint16{'a', 'b', 0, 'c', 'd', 0, 0} , and…
The task
For encoding, `EncodeArrToSlice("ab", "cd")` should return `[]uint16{'a', 'b', 0, 'c', 'd', 0, 0}`, and `EncodeArrToPtr("ab", "cd")` should point at a heap-backed block with the same words. `EncodeArrToBuf(make([]uint16, 7), "ab", "cd")` should write `[97 98 0 99 100 0 0]` and return `7`. If the destination buffer is…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.