C# Класс Monobjc.Tools.Generators.DataLibraryCreator

Class that embeds an arbitrary file into a static library.

The static library then export two symbols: one for the data and one for the size.

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateStaticLibrary ( String dataFile, bool needZeroEnd ) : void

Creates the static library.

DataLibraryCreator ( ) : System

Initializes a new instance of the DataLibraryCreator class.

Приватные методы

Метод Описание
GetSymbolName ( String filename ) : String

Gets the pretty name of a file. The name will be ready for inclusion in source code.

Locate ( byte buffer, byte pattern ) : int

Locates the specified pattern in the buffer.

Match ( byte buffer, byte pattern, int position ) : bool

Test to see if the buffer match the pattern at the given position.

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

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

Creates the static library.
public CreateStaticLibrary ( String dataFile, bool needZeroEnd ) : void
dataFile String /// Data file. ///
needZeroEnd bool /// Need zero end. ///
Результат void

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

Initializes a new instance of the DataLibraryCreator class.
public DataLibraryCreator ( ) : System
Результат System