C# Class natix.CompactDS.ListIGenericIO

Save/Load lists of integers
Afficher le fichier Open project: sadit/natix

Méthodes publiques

Méthode Description
GetTypeId ( List C, Type type ) : byte

Gets the type identifier (index) of "type" in "C". Returns 255 if "type" is not in "C"

Load ( BinaryReader Input ) : IList

Load a list from the specified Input.

Save ( BinaryWriter Output, IList seq ) : void

Saves the "list" to "Output"

Method Details

GetTypeId() public static méthode

Gets the type identifier (index) of "type" in "C". Returns 255 if "type" is not in "C"
public static GetTypeId ( List C, Type type ) : byte
C List
type System.Type
Résultat byte

Load() public static méthode

Load a list from the specified Input.
public static Load ( BinaryReader Input ) : IList
Input System.IO.BinaryReader
Résultat IList

Save() public static méthode

Saves the "list" to "Output"
public static Save ( BinaryWriter Output, IList seq ) : void
Output System.IO.BinaryWriter
seq IList
Résultat void