Beispiel #1
0
        public static FileOperator MergeTowFile(FileOperator file1, FileOperator file2)
        {
            var dest = new FileOperator();

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