Skip to content

Conversation

@Fumon
Copy link

@Fumon Fumon commented Jan 20, 2026

stream.getbuffer() is only available on BytesIO, not IO[bytes]. This causes a failure when writing flash when reading from a regular BufferedReader (such as in a raw/.bin file using -f -s)

.read is available on IO[bytes] which BufferedReader and BytesIO both implement.

stream.getbuffer() is only available on BytesIO, not IO[bytes]. This causes a failure when reading from a regular BufferedReader.

.read is available on IO[bytes] which BufferedReader and BytesIO both implement.
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