C# 클래스 SwiftPbo.PboArchive

파일 보기 프로젝트 열기: headswe/SwiftPbo 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( string path, ProductEntry productEntry, string>.Dictionary files, byte checksum = null ) : void
Create ( string directoryPath, string outpath ) : System.Boolean
Create ( string directoryPath, string outpath, ProductEntry productEntry ) : System.Boolean
Dispose ( ) : void
Extract ( FileEntry fileEntry, string outpath ) : System.Boolean
Extract ( FileEntry fileEntry ) : Stream

Returns a filestream to the ENTIRE pbo set at the file entry pos.

ExtractAll ( string outpath ) : System.Boolean
PboArchive ( string path, bool close = true ) : System
SterilizePath ( String path ) : String

비공개 메소드들

메소드 설명
GetFileStream ( FileEntry fileEntry ) : Stream
GetFileStreamPos ( FileEntry fileEntry ) : ulong
IsLiteral ( char ch ) : bool
ReadChecksum ( FileStream stream ) : void
ReadEntry ( FileStream stream ) : bool
ReadHeader ( FileStream stream ) : System.Boolean
WriteFileEntry ( FileStream stream, FileEntry entry ) : void
WriteProductEntry ( ProductEntry productEntry, FileStream stream ) : void

메소드 상세

Clone() 공개 정적인 메소드

public static Clone ( string path, ProductEntry productEntry, string>.Dictionary files, byte checksum = null ) : void
path string
productEntry ProductEntry
files string>.Dictionary
checksum byte
리턴 void

Create() 공개 정적인 메소드

public static Create ( string directoryPath, string outpath ) : System.Boolean
directoryPath string
outpath string
리턴 System.Boolean

Create() 공개 정적인 메소드

public static Create ( string directoryPath, string outpath, ProductEntry productEntry ) : System.Boolean
directoryPath string
outpath string
productEntry ProductEntry
리턴 System.Boolean

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Extract() 공개 메소드

public Extract ( FileEntry fileEntry, string outpath ) : System.Boolean
fileEntry FileEntry
outpath string
리턴 System.Boolean

Extract() 공개 메소드

Returns a filestream to the ENTIRE pbo set at the file entry pos.
public Extract ( FileEntry fileEntry ) : Stream
fileEntry FileEntry
리턴 Stream

ExtractAll() 공개 메소드

public ExtractAll ( string outpath ) : System.Boolean
outpath string
리턴 System.Boolean

PboArchive() 공개 메소드

public PboArchive ( string path, bool close = true ) : System
path string
close bool
리턴 System

SterilizePath() 공개 정적인 메소드

public static SterilizePath ( String path ) : String
path String
리턴 String