Changes between Version 12 and Version 13 of ICryptoolStreamUsage


Ignore:
Timestamp:
Feb 12, 2011, 1:31:48 AM (11 years ago)
Author:
Matthäus Wander
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ICryptoolStreamUsage

    v12 v13  
    9797 * You may use CStreamReader.WaitEof() to wait until the writer has closed the stream. When the method returns, the writer has finished and CStreamReader.Length will remain constant.
    9898 * If you don't like the property of CStreamReader.Read(byte[]), that it may return less bytes than requested, you can use CStreamReader.ReadFully(byte[]). Still, when you reach the end of a closed stream it will return less bytes.
    99  * If you're superlazy, CStreamReader.ReadFully() will do all the stream reading and waiting work and deliver everything as a single byte[]. However, it is terribly inefficient and you may become memory problems when processing large data amounts. Try to avoid it.
     99 * If you're superlazy, CStreamReader.ReadFully() (without parameters) will do all the stream reading and waiting work and deliver everything as a single byte[]. However, it is terribly inefficient and you may become memory problems when processing large data amounts. Try to avoid it.