mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-29 05:53:07 +08:00
- Implements byte order conversions for 16/32/64-bit integers - Provides bidirectional bytes ↔ int conversions - Supports both big-endian and little-endian formats - Includes comprehensive doctests with real-world examples - Documents use cases: network protocols, cryptography, file formats - All tests pass: ruff, mypy, doctests Co-authored-by: rodrigo.nogueira <rodrigo.nogueira@prf.gov.br>
Conversion
Conversion programs convert a type of data, a number from a numerical base or unit into one of another type, base or unit, e.g. binary to decimal, integer to string or foot to meters.