Binary Data Services¶
The modules described in this chapter provide some basic services operationsfor manipulation of binary data. Other operations on binary data, specificallyin relation to file formats and network protocols, are described in therelevant sections.
Some libraries described underText Processing Services also work with eitherASCII-compatible binary formats (for example,re) or all binary data(for example,difflib).
In addition, see the documentation for Python’s built-in binary data types inBinary Sequence Types — bytes, bytearray, memoryview.
struct— Interpret bytes as packed binary datacodecs— Codec registry and base classes