I have the following code in c# and I need to do the same in Python, where I need to read a binary file and add a list of items to a list:
private void Load(s