I have a file coming from a network request, the file ends up being accessible as a BytesIO object, is there any way to split that BytesIO object into multiple BytesIO objects without the overhead of reading the content and manually splitting at a certain byte count?
To put it simply T want a function that does the following
def split_bytesio(input_file: BytesIO) -> List[BytesIO]:
# return parts made using something that behaves like the JS Blob.slice() method