I have a .bin file and want to partition it and get it as byte array. but using map() don't help me and when I get size of whole data, it isn't size of my file (it is bigger than file's size)
For test it, I was faced with other problem, when I use getNumPartitions() to get number of partition, 1 is printed in output but function that use in map(), is called more than one. Another problem is when sum the size of each partition, result isn't my file's size and bigger than it(I get size with sys.getsizeof() in map() function)
- How read .bin file as byte array? and,
- What's a way for partition file as fixed size? and,
- Can I make partition with overlapping and set location of spliting?
.binfile?