C# Class ValveResourceFormat.Block

Represents a block within the resource file.
Show file Open project: SteamDatabase/ValveResourceFormat

Public Methods

Method Description
GetChar ( ) : BlockType
Read ( BinaryReader reader, Resource resource ) : void
ToString ( ) : string

Returns a string that represents the current object.

WriteText ( IndentedTextWriter writer ) : void

Writers the correct object to IndentedTextWriter.

Method Details

GetChar() public abstract method

public abstract GetChar ( ) : BlockType
return BlockType

Read() public abstract method

public abstract Read ( BinaryReader reader, Resource resource ) : void
reader System.IO.BinaryReader
resource Resource
return void

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string

WriteText() public abstract method

Writers the correct object to IndentedTextWriter.
public abstract WriteText ( IndentedTextWriter writer ) : void
writer System.CodeDom.Compiler.IndentedTextWriter IndentedTextWriter.
return void