C# Class natix.CompactDS.ListIGenericIO

Save/Load lists of integers
Datei anzeigen Open project: sadit/natix

Public Methods

Method 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 method

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
return byte

Load() public static method

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

Save() public static method

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