Beispiel #1
0
        internal List <int> GetStreamDataAsIntegers(int StartSID)
        {
            List <int> chain = SectorAllocation.GetSIDChain(StartSID);
            List <int> data  = new List <int>();

            foreach (int sid in chain)
            {
                data.AddRange(ReadSectorDataAsIntegers(sid));
            }
            return(data);
        }
Beispiel #2
0
        private byte[] GetStreamDataAsBytes(int StartSID)
        {
            List <int>  chain = SectorAllocation.GetSIDChain(StartSID);
            List <byte> data  = new List <byte>();

            foreach (int sid in chain)
            {
                data.AddRange(ReadSectorDataAsBytes(sid));
            }
            return(data.ToArray());
        }