C# Class FSO.Files.FAR1.FAR1Archive

A FAR1 (File Archive v1) archive.
显示文件 Open project: RHY3756547/FreeSO

Public Methods

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

public Close ( ) : void
return void

FAR1Archive() public method

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

GetAllEntries() public method

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

GetAllFarEntries() public method

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

GetEntry() public method

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

GetEntry() public method

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.
return byte[]