Esempio n. 1
0
        ArrayList ReadStreams(Stream file)
        {
            BinaryReader     reader = new BinaryReader(file);
            PackedDataHeader header = ReadHeader(reader);
            PackedDataTable  table  = header.DataTable;
            ArrayList        result = new ArrayList();
            int count = table.RowCount;

            for (int i = 0; i < count; i++)
            {
                byte[] data = ReadStream(reader, header.Start, table[i]);
                result.Add(data);
            }
            return(result);
        }
 // constructors...
 /// <summary>
 /// Creates new instance of the PackedDataHeader class.
 /// </summary>
 public PackedDataHeader()
 {
     dataTable = new PackedDataTable();
 }