SourceStream.SetLength C# (CSharp) Method

SetLength() public method

public SetLength ( long l ) : void
l long
return void
	public override void SetLength (long l)
	{
		throw new Exception ();
	}

Usage Example

Ejemplo n.º 1
0
 public override void Flush()
 {
     if (_modified)
     {
         SourceStream.SetLength(0);
         _stream.Position = 0;
         StreamUtility.CopyStream(_stream, SourceStream);
         _modified            = false;
         _sourcePositionReset = true;
         _stream.Position     = 0;
         _sourceLength        = _stream.Length;
     }
 }
All Usage Examples Of SourceStream::SetLength