Python has many types.
What is usage of binary sequence types in python?
There are 3 binary sequence types:
bytes
bytearray
MemoryView
What are they use for?
Python has many types.
What is usage of binary sequence types in python?
There are 3 binary sequence types:
bytes
bytearray
MemoryView
What are they use for?
Actually all of these three types' use were discussed already:
1) About bytes
look at the answers to the question the bytes type in python 2.7 and PEP-358
2) About bytearray
usage look at the answers to the question Where are python bytearrays used?
3) About MemoryView
look at good answers to the questions
When should a memoryview be used?
and What exactly is the point of memoryview in Python