Closed janus closed 6 years ago
Hey @janus,
Thanks for reporting this issue. I think the current name fits the purpose well enough. It takes a number and converts it to its binary form. You're right that it returns bytes, but I think binary is accurate enough for what it does. Its also based on the official design document which you can read here: https://github.com/ethereum/wiki/wiki/RLP
@janus I'm closing this one because of lack of activity. If you have any more suggestions I'm happy to help!
The name to_binary does not completely reflect what to code returns. It seems like to_bytes or something close to that would be better.