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

An IFF is made up of chunks.
Show file 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 property

public bool AddedByPatch
return bool

ChunkData public property

public byte[] ChunkData
return byte[]

ChunkFlags public property

public ushort ChunkFlags
return ushort

ChunkID public property

public ushort ChunkID
return ushort

ChunkLabel public property

public string ChunkLabel
return string

ChunkParent public property

public IffFile ChunkParent
return IffFile

ChunkProcessed public property

public bool ChunkProcessed
return bool

ChunkType public property

public string ChunkType
return string

OriginalData public property

public byte[] OriginalData
return byte[]

OriginalID public property

public ushort OriginalID
return ushort

OriginalLabel public property

public string OriginalLabel
return string

RuntimeInfo public property

public ChunkRuntimeState RuntimeInfo
return ChunkRuntimeState