|
If stream size is larger that unsigned int it returns wrong value. int available = is.available(); And even If I know the size of my file, I cant set it by setInitialMax() - because it will be overrided by wrapper: public static InputStream wrap(InputStream is, ProgressBarBuilder pbb) { |
Answered by
ctongfei
Oct 7, 2021
Replies: 1 comment 4 replies
|
OK -- so you are saying that, if |
4 replies
Answer selected by
Kovsonq
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK -- so you are saying that, if
setInitialMaxis invoked in the builder, do not use theUtil.getInputStreamSizefunction?