Aliyun.OSS.Common.Internal Namespace |
[Missing <summary> documentation for "N:Aliyun.OSS.Common.Internal"]
Class | Description | |
---|---|---|
![]() | HashingWrapper | |
![]() | HashingWrapperMD5 | |
![]() | HashStream |
A wrapper stream that calculates a hash of the base stream as it
is being read.
The calculated hash is only available after the stream is closed or
CalculateHash is called. After calling CalculateHash, any further reads
on the streams will not change the CalculatedHash.
If an ExpectedHash is specified and is not equal to the calculated hash,
Close or CalculateHash methods will throw an ClientException.
If CalculatedHash is calculated for only the portion of the stream that
is read.
|
![]() | HashStreamT |
A wrapper stream that calculates a hash of the base stream as it
is being read or written.
The calculated hash is only available after the stream is closed or
CalculateHash is called. After calling CalculateHash, any further reads
on the streams will not change the CalculatedHash.
If an ExpectedHash is specified and is not equal to the calculated hash,
Close or CalculateHash methods will throw an ClientException.
If base stream's position is not 0 or HashOnReads is true and the entire stream is
not read, the CalculatedHash will be set to an empty byte array and
comparison to ExpectedHash will not be made.
|
![]() | MD5Stream |
A wrapper stream that calculates an MD5 hash of the base stream as it
is being read or written.
The calculated hash is only available after the stream is closed or
CalculateHash is called. After calling CalculateHash, any further reads
on the streams will not change the CalculatedHash.
If an ExpectedHash is specified and is not equal to the calculated hash,
Close or CalculateHash methods will throw an ClientException.
If base stream's position is not 0 or HashOnReads is true and the entire stream is
not read, the CalculatedHash will be set to an empty byte array and
comparison to ExpectedHash will not be made.
|
![]() | PartialWrapperStream |
This class is used to wrap a stream for a particular segment of a stream. It
makes that segment look like you are reading from beginning to end of the stream.
|
![]() | WrapperStream |
A wrapper stream.
|
Interface | Description | |
---|---|---|
![]() | IHashingWrapper |