C# Class FSO.Files.FAR1.FAR1Archive

A FAR1 (File Archive v1) archive.
Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Méthode Description
Close ( ) : void
FAR1Archive ( string Path ) : System

Creates a new FAR1Archive instance from a path.

GetAllEntries ( ) : byte[]>>.List

Gets all entries in the archive.

GetAllFarEntries ( ) : List

Returns a list of all FarEntry instances in this archive.

GetEntry ( FarEntry Entry ) : byte[]

Gets an entry's data from a FarEntry instance.

GetEntry ( byte[]>.KeyValuePair Entry ) : byte[]

Gets an entry based on a KeyValuePair.

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

FAR1Archive() public méthode

Creates a new FAR1Archive instance from a path.
public FAR1Archive ( string Path ) : System
Path string The path to the archive.
Résultat System

GetAllEntries() public méthode

Gets all entries in the archive.
public GetAllEntries ( ) : byte[]>>.List
Résultat byte[]>>.List

GetAllFarEntries() public méthode

Returns a list of all FarEntry instances in this archive.
public GetAllFarEntries ( ) : List
Résultat List

GetEntry() public méthode

Gets an entry's data from a FarEntry instance.
public GetEntry ( FarEntry Entry ) : byte[]
Entry FarEntry A FarEntry instance.
Résultat byte[]

GetEntry() public méthode

Gets an entry based on a KeyValuePair.
public GetEntry ( byte[]>.KeyValuePair Entry ) : byte[]
Entry byte[]>.KeyValuePair A KeyValuePair (string, byte[]) representing the entry. The byte array can be null.
Résultat byte[]