C# Class NPerf.Core.Communication.MemoryMappedFileView

Inheritance: IDisposable
Datei anzeigen Open project: Orcomp/NPerf Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ReadDeserialize ( ) : object
WriteSerialize ( object data ) : void

Serializes the data and writes it to the file.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
MemoryMappedFileView ( MemoryMappedViewStream stream ) : System
ReadBytes ( byte data ) : void
ReadDeserialize ( int length ) : object
WriteBytes ( byte data, int offset ) : void
WriteSerialize ( object data, int offset, int length ) : void

Serializes the data and writes it to the file.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

ReadDeserialize() public method

public ReadDeserialize ( ) : object
return object

WriteSerialize() public method

Serializes the data and writes it to the file.
public WriteSerialize ( object data ) : void
data object The data to serialize.
return void