C# Class QUT.GplexBuffers.BuildBuffer

Inheritance: ScanBuff
Datei anzeigen Open project: spark-shading-language/spark

Private Properties

Property Type Description

Public Methods

Method Description
BuildBuffer ( Stream stream ) : System
BuildBuffer ( Stream stream, int fallbackCodePage ) : System
GetString ( int begin, int limit ) : string
Mark ( ) : void

Marks a conservative lower bound for the buffer, allowing space to be reclaimed. If an application needs to call GetString at arbitrary past locations in the input stream, Mark() is not called.

Read ( ) : int

Read returns the ordinal number of the next char, or EOF (-1) for an end of stream. Note that the next code point may require *two* calls of Read().

ToString ( ) : string

Method Details

BuildBuffer() public method

public BuildBuffer ( Stream stream ) : System
stream Stream
return System

BuildBuffer() public method

public BuildBuffer ( Stream stream, int fallbackCodePage ) : System
stream Stream
fallbackCodePage int
return System

GetString() public method

public GetString ( int begin, int limit ) : string
begin int
limit int
return string

Mark() public method

Marks a conservative lower bound for the buffer, allowing space to be reclaimed. If an application needs to call GetString at arbitrary past locations in the input stream, Mark() is not called.
public Mark ( ) : void
return void

Read() public method

Read returns the ordinal number of the next char, or EOF (-1) for an end of stream. Note that the next code point may require *two* calls of Read().
public Read ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string