I have an id that is represented at an int64. How can I convert this to a []byte? I see that the binary package does this for uints, but I want to make sure I don't break negative numbers.
int64
[]byte
2.1m questions
2.1m answers
60 comments
57.0k users