On Saturday, May 26, 2018 at 10:59:34 AM UTC-4, Matthias B. wrote:
>
> On Sat, 26 May 2018 07:26:12 -0700 (PDT) 
> T L <tapi...@gmail.com <javascript:>> wrote: 
>
> > Looks the answer is not. But any one can confirm this? 
>
> I can tell you that your program does not have any defined behavior 
> according to the Go language standard, because your use of 
> unsafe.Pointer to reinterpret bytes as a pointer is not one of the 
> officially supported usage patterns for unsafe.Pointer. 
>
> https://golang.org/pkg/unsafe/#Pointer


agree. Thanks.
 

>
>
> MSB 
>
> -- 
> True power lies not in what you can do 
> but in what you don't have to do in the first place. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to