C# Class Metropass.Core.PCL.Hashing.HashedBlockStream

Inheritance: Stream
Afficher le fichier Open project: TheAngryByrd/MetroPass Class Usage Examples

Méthodes publiques

Свойство Type Description
m_sBaseStream Stream

Méthodes publiques

Méthode Description
Close ( ) : void
Flush ( ) : void
HashedBlockStream ( Stream sBaseStream, bool bWriting, ICanSHA256Hash SHA256Hasher ) : System
HashedBlockStream ( Stream sBaseStream, bool bWriting, int nBufferSize, ICanSHA256Hash SHA256Hasher ) : System
HashedBlockStream ( Stream sBaseStream, bool bWriting, int nBufferSize, bool bVerify, ICanSHA256Hash sha256Hasher ) : System
Read ( byte pbBuffer, int nOffset, int nCount ) : int
Seek ( long lOffset, SeekOrigin soOrigin ) : long
SetLength ( long lValue ) : void
Write ( byte pbBuffer, int nOffset, int nCount ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
ReadHashedBlock ( ) : bool
WriteHashedBlock ( ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

HashedBlockStream() public méthode

public HashedBlockStream ( Stream sBaseStream, bool bWriting, ICanSHA256Hash SHA256Hasher ) : System
sBaseStream Stream
bWriting bool
SHA256Hasher ICanSHA256Hash
Résultat System

HashedBlockStream() public méthode

public HashedBlockStream ( Stream sBaseStream, bool bWriting, int nBufferSize, ICanSHA256Hash SHA256Hasher ) : System
sBaseStream Stream
bWriting bool
nBufferSize int
SHA256Hasher ICanSHA256Hash
Résultat System

HashedBlockStream() public méthode

public HashedBlockStream ( Stream sBaseStream, bool bWriting, int nBufferSize, bool bVerify, ICanSHA256Hash sha256Hasher ) : System
sBaseStream Stream
bWriting bool
nBufferSize int
bVerify bool
sha256Hasher ICanSHA256Hash
Résultat System

Read() public méthode

public Read ( byte pbBuffer, int nOffset, int nCount ) : int
pbBuffer byte
nOffset int
nCount int
Résultat int

Seek() public méthode

public Seek ( long lOffset, SeekOrigin soOrigin ) : long
lOffset long
soOrigin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long lValue ) : void
lValue long
Résultat void

Write() public méthode

public Write ( byte pbBuffer, int nOffset, int nCount ) : void
pbBuffer byte
nOffset int
nCount int
Résultat void

Property Details

m_sBaseStream public_oe property

public Stream m_sBaseStream
Résultat Stream