File 对象不是有 length() 方法?public long length()
Returns the length of the file denoted by this abstract pathname. The return value is unspecified if this pathname denotes a directory.
翻翻 sdk 啊.
Returns the length of the file denoted by this abstract pathname. The return value is unspecified if this pathname denotes a directory.
翻翻 sdk 啊.
另外,对于流文件还可用f.available()返回流文件长度
另外,对于流文件还可用f.available()返回流文件长度