https://medium.com/@mksdev.art/handling-binary-data-in-python-bytes-bytearray-memoryview-34ba793ace4c