C# Класс AlbLib.Common

Contains various common functions and magic contants.
Показать файл Открыть проект

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

Метод Описание
E ( int index, int &fileIndex, int &subfileIndex ) : bool

Converts nullable index to file index and subfile index

E ( int fileIndex, int subfileIndex ) : int

Converts file and subfile index to nullable index.

Skip ( this input, int bytes ) : int

Skips bytes from stream.

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

E() публичный статический Метод

Converts nullable index to file index and subfile index
public static E ( int index, int &fileIndex, int &subfileIndex ) : bool
index int /// Nullable index. (0 = null, 1 - 99 => 0 - 99, 100+ => 100+) ///
fileIndex int /// File index. ///
subfileIndex int /// Subfile index. ///
Результат bool

E() публичный статический Метод

Converts file and subfile index to nullable index.
public static E ( int fileIndex, int subfileIndex ) : int
fileIndex int /// File index. ///
subfileIndex int /// Subfile index. ///
Результат int

Skip() публичный статический Метод

Skips bytes from stream.
public static Skip ( this input, int bytes ) : int
input this /// Input stream. ///
bytes int /// Number of bytes to skip. ///
Результат int