Skip to content

FileTypeUtil.getType 为什么不在方法内部还原流指针? #2331

Answered by looly
HakureiMarisa asked this question in Q&A
Discussion options

You must be logged in to vote

因为你无法确定用户提供的流是否支持mark和reset,只能由用户来操作了。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by HakureiMarisa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants