Exemplo n.º 1
0
 public static void connect(Stream sourceStream, Stream targetStream, int bufferSize, Boolean flushWhenFinished)
 {
     StreamConnector.connect(sourceStream, targetStream, bufferSize, flushWhenFinished, null);
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sourceStream"></param>
        /// <param name="targetStream"></param>
        public static void connect(Stream sourceStream, Stream targetStream)
        {
            int bufferSize = 4096;

            StreamConnector.connect(sourceStream, targetStream, bufferSize, true);
        }