Thanks! Nigel Tao <nigel...@golang.org> ezt írta (időpont: 2016. szept. 8., Cs 3:23):
> On Thu, Sep 8, 2016 at 1:03 AM, Tamás Gulácsi <tgulacs...@gmail.com> > wrote: > > a:=([1<<20]byte(unsafe.Pointer(retPtr))) > > Also, the type needs to be pointer-to-array, not array. > > a:=(*[1<<20]byte)(unsafe.Pointer(retPtr)) > -- 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.