Files
sys/plan9
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
..
2018-01-25 14:42:35 +00:00
2017-10-25 20:39:07 +00:00
2016-02-22 20:26:01 +00:00
2014-08-11 15:58:26 -07:00
2017-10-25 20:39:07 +00:00
2022-04-29 23:34:32 +00:00
2021-11-10 15:43:04 +00:00
2021-11-10 15:43:04 +00:00
2021-11-10 15:43:04 +00:00
2022-04-29 23:34:32 +00:00