Inheritance diagram for ZStreamR_SHA1:
Public Member Functions
|ZStreamR_SHA1 (uint8 oDigest, const ZStreamR &iStreamSource)|
|Constructor for use inline. |
|virtual size_t||Imp_CountReadable ()|
|Returns the number of bytes guaranteed to be readable without blocking. |
Constructor for use inline.
This constructor remembers the address of oDigest, and when destroyed will place the digest in that array. This constructor is useful when a ZStreamR is already being used to read some data, but for which we would like to gather a digest. e.g. going from this:
Returns the number of bytes guaranteed to be readable without blocking.
If the stream does not or cannot know this information it should return zero. A zero return thus does not mean no data is available, simply that a subsequent Read or Skip may block indefinitely.
Reimplemented from ZStreamR.