예제 #1
0
        protected BaseFatStream(Base fileOrDirectory, FatFileSystem fileSystem, ulong firstClusterNumber)
        {
            mFileOrDirectory = fileOrDirectory;
            mFirstClusterNumber = firstClusterNumber;
            mFileSystem = fileSystem;

            mSize = mFileOrDirectory.Size;
            if (mSize > 0)
            {
                mFatTable = mFileSystem.GetFatTable(firstClusterNumber);
            }
        }
예제 #2
0
        protected BaseFatStream(Base fileOrDirectory, FatFileSystem fileSystem, ulong firstClusterNumber)
        {
            mFileOrDirectory    = fileOrDirectory;
            mFirstClusterNumber = firstClusterNumber;
            mFileSystem         = fileSystem;

            mSize = mFileOrDirectory.Size;
            if (mSize > 0)
            {
                mFatTable = mFileSystem.GetFatTable(firstClusterNumber);
            }
        }
예제 #3
0
        public FatDirectoryStream(Listing.FatDirectory aDirectory)
        {
            mDirectory = aDirectory;
            mFS = mDirectory.FileSystem;
            if (mFS == null)
            {
                FatHelpers.Debug("mFS is null!");
            }

            if (mDirectory.Size > 0)
            {
                mFatTable = mFS.GetFatTable(mDirectory.FirstClusterNum);
            }
        }
예제 #4
0
        public FatDirectoryStream(Listing.FatDirectory aDirectory)
        {
            mDirectory = aDirectory;
            mFS        = mDirectory.FileSystem;
            if (mFS == null)
            {
                FatHelpers.Debug("mFS is null!");
            }

            if (mDirectory.Size > 0)
            {
                mFatTable = mFS.GetFatTable(mDirectory.FirstClusterNum);
            }
        }