We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
private fun transferOneCommand(command: CommandBlockWrapper, inBuffer: ByteBuffer): Int
I have a 16k data packet. Why is it divided into 5 reads? Can I read 16k data packets at once? Instead of subcontracting to read
(if exists)
The text was updated successfully, but these errors were encountered:
@magnusja
Sorry, something went wrong.
Depends on the flash drive. Oftentimes, some support larger ones, some do not.
But anyways, the ScsiWrite and Read commands currently only support some smaller chunk sizes. See here, https://github.com/magnusja/libaums/blob/develop/libaum s/src/main/java/me/jahnen/libaums/core/driver/scsi/commands/ScsiRead10.kt
Currently, there is a read command 32, which probably speeds up transfer by a lot if usb drive supports it. See here: https://www.seagate.com/files/staticfiles/support/docs/manual/Interface%20manuals/100293068j.pdf
I am happy to take a PR. But as the USB spec is complex, it is hard to support each of these flawlessly.
@magnusja Thank you. I am very happy to see your reply. The problem has been solved. Thank you very much.
No branches or pull requests
Problem
private fun transferOneCommand(command: CommandBlockWrapper, inBuffer: ByteBuffer): Int
I have a 16k data packet. Why is it divided into 5 reads? Can I read 16k data packets at once? Instead of subcontracting to read
Expected behavior
Actual behavior
Stacktrace of Excpetion
Code where problem occurs
The text was updated successfully, but these errors were encountered: