User's guide
Developer's guide
Tutorials
Glossary
Format a number of bytes for a log, in binary units.
nbytes (int or None) – The number of bytes, or None if it is not known
None
text (str) – The number with the largest unit that leaves it at least 1