Hi, I have an int64 value say 12 I want to convert that to []byte array. How do we do that. There were lot of ways on the internet. Nothing which golang specifies or has a built-package for direct conversions. Lot of them dealt with Endiean's, but that might cause issues to I believe.
So, is there any one recommended and safe way? Thank you -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/dffa4b81-9c7b-48d8-8b8b-262804756606n%40googlegroups.com.