private _SetWriteStream ( uint increment ) : void | ||
increment | uint | |
Результат | void |
public static ZipSegmentedStream ForWriting(string name, int maxSegmentSize) { ZipSegmentedStream zss = new ZipSegmentedStream() { rw = 2, // 2 == write CurrentSegment = 0, _baseName = name, _maxSegmentSize = maxSegmentSize, _baseDir = Path.GetDirectoryName(name) }; // workitem 9522 if (zss._baseDir=="") zss._baseDir="."; zss._SetWriteStream(0); return zss; }
public static ZipSegmentedStream ForWriting(ZipSegmentedStreamManager manager, int maxSegmentSize) { ZipSegmentedStream zss = new ZipSegmentedStream() { rwMode = RwMode.Write, CurrentSegment = 0, _maxSegmentSize = maxSegmentSize, _manager = manager }; zss._SetWriteStream(0); // Console.WriteLine("ZSS: ForWriting ({0})", // Path.GetFileName(zss.CurrentName)); return(zss); }
// Token: 0x0600067C RID: 1660 RVA: 0x0003A5BC File Offset: 0x000387BC public static ZipSegmentedStream ForWriting(string name, int maxSegmentSize) { ZipSegmentedStream zipSegmentedStream = new ZipSegmentedStream { rwMode = ZipSegmentedStream.RwMode.Write, CurrentSegment = 0U, _baseName = name, _maxSegmentSize = maxSegmentSize, _baseDir = Path.GetDirectoryName(name) }; if (zipSegmentedStream._baseDir == "") { zipSegmentedStream._baseDir = "."; } zipSegmentedStream._SetWriteStream(0U); return(zipSegmentedStream); }
public static ZipSegmentedStream ForWriting(string name, int maxSegmentSize) { ZipSegmentedStream zipSegmentedStream = new ZipSegmentedStream(); zipSegmentedStream.rwMode = RwMode.Write; zipSegmentedStream.CurrentSegment = 0u; zipSegmentedStream._baseName = name; zipSegmentedStream._maxSegmentSize = maxSegmentSize; zipSegmentedStream._baseDir = Path.GetDirectoryName(name); ZipSegmentedStream zipSegmentedStream2 = zipSegmentedStream; if (zipSegmentedStream2._baseDir == "") { zipSegmentedStream2._baseDir = "."; } zipSegmentedStream2._SetWriteStream(0u); return(zipSegmentedStream2); }
public static ZipSegmentedStream ForWriting(string name, int maxSegmentSize) { ZipSegmentedStream zss = new ZipSegmentedStream() { rw = 2, // 2 == write CurrentSegment = 0, _baseName = name, _maxSegmentSize = maxSegmentSize, _baseDir = Path.GetDirectoryName(name) }; // workitem 9522 if (zss._baseDir == "") { zss._baseDir = "."; } zss._SetWriteStream(0); return(zss); }
public static ZipSegmentedStream ForWriting(string name, int maxSegmentSize) { ZipSegmentedStream zss = new ZipSegmentedStream() { rwMode = RwMode.Write, CurrentSegment = 0, _baseName = name, _maxSegmentSize = maxSegmentSize, _baseDir = Path.GetDirectoryName(name) }; // workitem 9522 if (zss._baseDir == "") { zss._baseDir = "."; } zss._SetWriteStream(0); // Console.WriteLine("ZSS: ForWriting ({0})", // Path.GetFileName(zss.CurrentName)); return(zss); }
public static ZipSegmentedStream ForWriting(string name, int maxSegmentSize) { ZipSegmentedStream zss = new ZipSegmentedStream() { rwMode = RwMode.Write, CurrentSegment = 0, _baseName = name, _maxSegmentSize = maxSegmentSize, _baseDir = Path.GetDirectoryName(name) }; // workitem 9522 if (zss._baseDir=="") zss._baseDir="."; zss._SetWriteStream(0); // Console.WriteLine("ZSS: ForWriting ({0})", // Path.GetFileName(zss.CurrentName)); return zss; }
public static ZipSegmentedStream ForWriting(ZipSegmentedStreamManager manager, int maxSegmentSize) { ZipSegmentedStream zss = new ZipSegmentedStream() { rwMode = RwMode.Write, CurrentSegment = 0, _maxSegmentSize = maxSegmentSize, _manager = manager }; zss._SetWriteStream(0); // Console.WriteLine("ZSS: ForWriting ({0})", // Path.GetFileName(zss.CurrentName)); return zss; }