Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support reading from BytesIO#125

Merged
addisonElliott merged 15 commits into
mhe:masterfrom
addisonElliott:minor-fixes
Sep 3, 2022
Merged

Support reading from BytesIO#125
addisonElliott merged 15 commits into
mhe:masterfrom
addisonElliott:minor-fixes

Conversation

@addisonElliott
Copy link
Copy Markdown
Collaborator

Add logic to correctly handle reading from BytesIO objects. Previously, parsing the data used np.fromfile which does not support BytesIO objects. This is fixed by using np.frombuffer and np.fromstring to read in BytesIO objects.

np.fromfile does not work with BytesIO objects and therefore caused

Additionally, tests for reading/writing from BytesIO objects were enhanced.

@addisonElliott addisonElliott merged commit f4b1ba1 into mhe:master Sep 3, 2022
@addisonElliott addisonElliott deleted the minor-fixes branch September 3, 2022 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant