Skip to content
Snippets Groups Projects
Commit a985b459 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

objint: Implement int.from_bytes() class method and .to_bytes() method.

These two are apprerently the most concise and efficient way to convert
int to/from bytes in Python. The alternatives are struct and array modules,
but methods using them are more verbose in Python code and less efficient
in memory/cycles.
parent 3aa8ee7c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment