Files
sys/windows
Tobias Klauser 76c7481b51 all: simplify unsafe.Slice usage in {Byte,UTF16}PtrToString
On windows, use unsafe.Slice instead of unsafeheader as already the case
for unix and plan9.

The pointers are already *byte/*uint16, so the type conversion can be
omitted as well.

Change-Id: Ida7264cc0c1948bf563ed91d51e637edcdafb77a
Reviewed-on: https://go-review.googlesource.com/c/sys/+/430515
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2022-09-13 15:31:01 +00:00
..
2022-04-29 23:34:32 +00:00
2022-04-29 23:34:32 +00:00
2022-04-29 23:34:32 +00:00
2022-04-29 23:34:32 +00:00
2021-10-20 15:40:33 +00:00
2021-10-20 15:40:33 +00:00
2021-10-20 15:40:33 +00:00
2021-02-18 14:52:45 +00:00