C# Class AlbLib.Common

Contains various common functions and magic contants.
Afficher le fichier Open project: IllidanS4/AlbLib

Méthodes publiques

Méthode Description
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.

Method Details

E() public static méthode

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. ///
Résultat bool

E() public static méthode

Converts file and subfile index to nullable index.
public static E ( int fileIndex, int subfileIndex ) : int
fileIndex int /// File index. ///
subfileIndex int /// Subfile index. ///
Résultat int

Skip() public static méthode

Skips bytes from stream.
public static Skip ( this input, int bytes ) : int
input this /// Input stream. ///
bytes int /// Number of bytes to skip. ///
Résultat int