C# Класс EpLibrary.cs.BinaryFile

A class for Binary File.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_baseBinaryLock Object
m_stream System.IO.MemoryStream

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool isDisposing ) : void

Описание методов

AppendToFile() публичный Метод

Append the binary to the given file
public AppendToFile ( String filename ) : bool
filename String the name of the file to append
Результат bool

BinaryFile() публичный Метод

Default Constructor
public BinaryFile ( ) : System
Результат System

BinaryFile() публичный Метод

Default Copy Constructor
public BinaryFile ( BinaryFile b ) : System
b BinaryFile the object to copy from
Результат System

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool isDisposing ) : void
isDisposing bool
Результат void

GetStream() публичный Метод

Get the current stream
public GetStream ( ) : MemoryStream
Результат System.IO.MemoryStream

LoadFromFile() публичный Метод

Load the list of the properties from the given file
public LoadFromFile ( String filename ) : bool
filename String the name of the file to load
Результат bool

SaveToFile() публичный Метод

Save the binary to the given file
public SaveToFile ( String filename ) : bool
filename String the name of the file to save
Результат bool

SetStream() публичный Метод

Set the stream as given stream
public SetStream ( MemoryStream stream ) : void
stream System.IO.MemoryStream the stream to set
Результат void

Описание свойств

m_baseBinaryLock защищенное свойство

lock
protected Object m_baseBinaryLock
Результат Object

m_stream защищенное свойство

stream
protected MemoryStream,System.IO m_stream
Результат System.IO.MemoryStream