我注意到每次我通过GZipStream
文件大小运行相同的文件时都会有所不同。当我通过 Windows 资源管理器查看文件时,它size
是不同的,但Size on disk
始终是相同的。这是预期的行为。
问问题
192 次
1 回答
1
Is your file small? Usually with smaller files the OS may add some padding to the file to make it fill a cluster/block so you'll notice the size may be slightly different. This is much more noticeable on smaller files than larger ones.
For an explanation on the difference between size and size on disk check this link out.
http://freewindowsvistatutorials.com/differencesBetweenFileSizeVsSizeOnDiskInWindows7VistaXP.php
于 2012-02-23T14:59:42.307 回答