Skip to content
New issue

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

FdfsInputStream 代码问题 #282

Open
tokenwind opened this issue Oct 31, 2022 · 0 comments
Open

FdfsInputStream 代码问题 #282

tokenwind opened this issue Oct 31, 2022 · 0 comments

Comments

@tokenwind
Copy link

FdfsInputStream 继承InputStream 在获取流的长度的时候,并没有重写方法available() 导致获取流的长度的问题一直是0。
因此在自定义fastFileStorageClient.downloadFile(group, path, new DownloadCallback() {
@OverRide
public Void recv(InputStream ins) throws IOException {

			return null;
		}
	})

此时若使用一些方法处理流的时候会有问题。error : FdfsParamMapper can not access a member of class java.lang.Void with modifiers "private"。

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

No branches or pull requests

1 participant