Use StringHandlers class to prevent garbage coming from
strings (even if they are not C strings, it does not hurt).
* FileSystemIDandChk/Plugins/AppleHFS.cs:
Use constants.
* FileSystemIDandChk/Plugins/BFS.cs:
* FileSystemIDandChk/Plugins/AppleMFS.cs:
* FileSystemIDandChk/Plugins/AppleHFSPlus.cs:
Use constants and EndianAwareBinaryReader class.
* FileSystemIDandChk/Plugins/Opera.cs:
Use a superblock structure and EndianAwareBinaryReader
class, reduces lots of code.
git-svn-id: svn://claunia.com/FileSystemIDandChk@15 17725271-3d32-4980-a8cb-9ff532f270ba
* AppleHFS.cs: Modified to use EndianAwareBinaryReader and
PascalToString classes
* FileSystemIDandChk.csproj: CToString.cs renamed to StringHandlers.cs
* StringHandlers.cs: Added code to convert Pascal string to .NET
String
git-svn-id: svn://claunia.com/FileSystemIDandChk@14 17725271-3d32-4980-a8cb-9ff532f270ba
* HPFS.cs:
* ISO9660.cs:
* AppleMFS.cs:
* AppleHFS.cs:
* AppleHFSPlus.cs: Moved datetime conversion to DateHandlers class.
* Symbian.cs: Identifies .SIS files. Yes I know it's not a filesystem
but I needed it so.
* Main.cs: Corrected typo
* FileSystemIDandChk.csproj: Added datetime conversion handling class,
Symbian .SIS installers, ext filesystem and ext2/3/4 filesystems.
* ext2FS.cs: Detects ext2, ext3 and ext4 filesystems up to Linux 3.1
kernel.
* extFS.cs: Detects ext filesystems. Untested as no Linux 2.0 was
available at time :p
* DateHandlers.cs: Moved all datetime convertions from plugins to
central class.
git-svn-id: svn://claunia.com/FileSystemIDandChk@11 17725271-3d32-4980-a8cb-9ff532f270ba
Added HFS+.
If HFS detects it has wrapped a HFS+ volume, inform that it's not its filesystem.
Added a workaround in calculation with UInt32 and ulong that made HFS and MFS show a bad date.
git-svn-id: svn://claunia.com/FileSystemIDandChk@2 17725271-3d32-4980-a8cb-9ff532f270ba