C# Class TapeStream.TapeStreamSerializer

Inheritance: ITapeStreamSerializer
Afficher le fichier Open project: phillipknauss/CqrsSiteEngine Class Usage Examples

Méthodes publiques

Méthode Description
ReadRecord ( Stream file ) : TapeRecord
WriteRecord ( Stream stream, byte data, long versionToWrite ) : void

Private Methods

Méthode Description
ReadAndVerifySignature ( Stream source, IList signature, string name ) : void
ReadReadableHash ( Stream stream ) : IEnumerable
ReadReadableInt64 ( Stream stream ) : long
WriteReadableHash ( BinaryWriter writer, byte hash ) : void
WriteReadableInt64 ( BinaryWriter writer, long value ) : void

Method Details

ReadRecord() public méthode

public ReadRecord ( Stream file ) : TapeRecord
file Stream
Résultat TapeRecord

WriteRecord() public méthode

public WriteRecord ( Stream stream, byte data, long versionToWrite ) : void
stream Stream
data byte
versionToWrite long
Résultat void