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
1.4m articles
1.4m replys
5 comments
57.0k users