C# Class FSO.Files.Formats.IFF.IffChunk

An IFF is made up of chunks.
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
AddedByPatch bool
ChunkData byte[]
ChunkFlags ushort
ChunkID ushort
ChunkLabel string
ChunkParent IffFile
ChunkProcessed bool
ChunkType string
OriginalData byte[]
OriginalID ushort
OriginalLabel string
RuntimeInfo ChunkRuntimeState

Public Methods

Method Description
Dispose ( ) : void
Read ( IffFile iff, Stream stream ) : void

Reads this chunk from an IFF.

ToString ( ) : string

The name of this chunk.

Write ( IffFile iff, Stream stream ) : bool

Attempts to write this chunk to a stream (presumably an IFF or PIFF)

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Read() public abstract method

Reads this chunk from an IFF.
public abstract Read ( IffFile iff, Stream stream ) : void
iff IffFile The IFF to read from.
stream Stream The stream to read from.
return void

ToString() public method

The name of this chunk.
public ToString ( ) : string
return string

Write() public method

Attempts to write this chunk to a stream (presumably an IFF or PIFF)
public Write ( IffFile iff, Stream stream ) : bool
iff IffFile
stream Stream
return bool

Property Details

AddedByPatch public_oe property

public bool AddedByPatch
return bool

ChunkData public_oe property

public byte[] ChunkData
return byte[]

ChunkFlags public_oe property

public ushort ChunkFlags
return ushort

ChunkID public_oe property

public ushort ChunkID
return ushort

ChunkLabel public_oe property

public string ChunkLabel
return string

ChunkParent public_oe property

public IffFile ChunkParent
return IffFile

ChunkProcessed public_oe property

public bool ChunkProcessed
return bool

ChunkType public_oe property

public string ChunkType
return string

OriginalData public_oe property

public byte[] OriginalData
return byte[]

OriginalID public_oe property

public ushort OriginalID
return ushort

OriginalLabel public_oe property

public string OriginalLabel
return string

RuntimeInfo public_oe property

public ChunkRuntimeState RuntimeInfo
return ChunkRuntimeState