Re:Techniques for investigating untypical Go memory leaks
by ankurdhama on Wednesday March 01, 2017 @11:22PM
(#13771401)
"var output = (*byte)(unsafe.Pointer(m))" This will give you the pointer to the byte slice object which may have its own structure which is opaque to you and this is not same as "getting the pointer to C byte array". It is weird that it was producing correct results at all :)
[ Parent
| on HN ]
There are no comments on this comment yet.