C# Class TapeStream.TapeStreamSerializer

Inheritance: ITapeStreamSerializer
ファイルを表示 Open project: phillipknauss/CqrsSiteEngine Class Usage Examples

Public Methods

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

Private Methods

Method 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 method

public ReadRecord ( Stream file ) : TapeRecord
file Stream
return TapeRecord

WriteRecord() public method

public WriteRecord ( Stream stream, byte data, long versionToWrite ) : void
stream Stream
data byte
versionToWrite long
return void