Esempio n. 1
0
        public static FileOperator MergeTowFile(FileOperator file1, FileOperator file2)
        {
            var dest = new FileOperator();

            StreamOperator.MergeTow(file1.InnerStream, file2.InnerStream, dest.InnerStream);
            return(dest);
        }
Esempio n. 2
0
 public int Count()
 {
     return((int)StreamOperator.Count(ms));
 }
Esempio n. 3
0
 public void Merge(FileOperator source)
 {
     StreamOperator.MergeWith(source.InnerStream, ms);
 }
Esempio n. 4
0
 public bool GetBit(uint offset)
 {
     return(StreamOperator.ReadBit(ms, offset));
 }
Esempio n. 5
0
 public void SetBit(uint offset, bool value)
 {
     StreamOperator.SetBit(ms, offset, value);
 }
Esempio n. 6
0
 public static void MergeTowFileTo(FileOperator file1, FileOperator file2, FileOperator dest)
 {
     StreamOperator.MergeTow(file1.InnerStream, file2.InnerStream, dest.InnerStream);
 }