You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2021. It is now read-only.
Relevant info: Blazor-Client WASM app, hosted with asp.net core using identity
I think this may be more of a documentation issue. When calling ReadAsync() on the stream returned by BlazorFileInput OnChange event, I typically never get the number of bytes requested. (i.e. I specify it to read 2MB, it only fills my 2MB buffer with 1MB worth of data). It correctly reports the number of bytes it actually read, but I didn't think that it would consistently under-fill the buffer when there was more data remaining than the buffer size.
I was having a bear of a time wondering why my Azure BlockBlobs were getting uploaded with 5-100% additional size. Don't be careless like me, check the bytes being read and update your buffer accordingly!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Relevant info: Blazor-Client WASM app, hosted with asp.net core using identity
I think this may be more of a documentation issue. When calling ReadAsync() on the stream returned by BlazorFileInput OnChange event, I typically never get the number of bytes requested. (i.e. I specify it to read 2MB, it only fills my 2MB buffer with 1MB worth of data). It correctly reports the number of bytes it actually read, but I didn't think that it would consistently under-fill the buffer when there was more data remaining than the buffer size.
I was having a bear of a time wondering why my Azure BlockBlobs were getting uploaded with 5-100% additional size. Don't be careless like me, check the bytes being read and update your buffer accordingly!
The text was updated successfully, but these errors were encountered: