|
|
|
|
|
by ankurdhama
3395 days ago
|
|
"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 :) |
|