C# Class EpLibrary.cs.BinaryFile

A class for Binary File.
Afficher le fichier Open project: juhgiyo/EpLibrary.cs Class Usage Examples

Protected Properties

Свойство Type Description
m_baseBinaryLock Object
m_stream System.IO.MemoryStream

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AppendToFile ( String filename ) : bool

Append the binary to the given file

BinaryFile ( ) : System

Default Constructor

BinaryFile ( BinaryFile b ) : System

Default Copy Constructor

Dispose ( ) : void
GetStream ( ) : MemoryStream

Get the current stream

LoadFromFile ( String filename ) : bool

Load the list of the properties from the given file

SaveToFile ( String filename ) : bool

Save the binary to the given file

SetStream ( MemoryStream stream ) : void

Set the stream as given stream

Méthodes protégées

Méthode Description
Dispose ( bool isDisposing ) : void

Method Details

AppendToFile() public méthode

Append the binary to the given file
public AppendToFile ( String filename ) : bool
filename String the name of the file to append
Résultat bool

BinaryFile() public méthode

Default Constructor
public BinaryFile ( ) : System
Résultat System

BinaryFile() public méthode

Default Copy Constructor
public BinaryFile ( BinaryFile b ) : System
b BinaryFile the object to copy from
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

GetStream() public méthode

Get the current stream
public GetStream ( ) : MemoryStream
Résultat System.IO.MemoryStream

LoadFromFile() public méthode

Load the list of the properties from the given file
public LoadFromFile ( String filename ) : bool
filename String the name of the file to load
Résultat bool

SaveToFile() public méthode

Save the binary to the given file
public SaveToFile ( String filename ) : bool
filename String the name of the file to save
Résultat bool

SetStream() public méthode

Set the stream as given stream
public SetStream ( MemoryStream stream ) : void
stream System.IO.MemoryStream the stream to set
Résultat void

Property Details

m_baseBinaryLock protected_oe property

lock
protected Object m_baseBinaryLock
Résultat Object

m_stream protected_oe property

stream
protected MemoryStream,System.IO m_stream
Résultat System.IO.MemoryStream