![]() |
Paradox Game Engine
v1.0.0 beta06
|
This is the Buffer for UTF8 files. It attempts to read the encoding preamble, which for this encoding should be unicode point which is encoded as EF BB BF More...
Public Member Functions | |
override int | Read () |
sealed override int | Peek () |
sealed override string | GetString (int beg, int end) |
Returns the string from the buffer between the given file positions. This needs to be done carefully, as the number of characters is, in general, not equal to (end - beg). More... | |
Static Public Member Functions | |
static TextBuff | NewTextBuff (Stream strm) |
TextBuff factory. Reads the file preamble and returns a TextBuff, LittleEndTextBuff or BigEndTextBuff according to the result. More... | |
Protected Member Functions | |
TextBuff (Stream str) | |
Protected Attributes | |
BufferedStream | bStrm |
int | delta = 1 |
Properties | |
sealed override int | ReadPos [get] |
sealed override int | Pos [get, set] |
![]() | |
abstract int | Pos [get, set] |
abstract int | ReadPos [get] |
Additional Inherited Members | |
![]() | |
const int | EOF = -1 |
This is the Buffer for UTF8 files. It attempts to read the encoding preamble, which for this encoding should be unicode point which is encoded as EF BB BF
Definition at line 531 of file ShaderMPlexer.cs.
|
protected |
Definition at line 569 of file ShaderMPlexer.cs.
|
virtual |
Returns the string from the buffer between the given file positions. This needs to be done carefully, as the number of characters is, in general, not equal to (end - beg).
beg | Begin filepos |
end | End filepos |
Implements NShader.Lexer.ScanBuff.
Definition at line 627 of file ShaderMPlexer.cs.
TextBuff factory. Reads the file preamble and returns a TextBuff, LittleEndTextBuff or BigEndTextBuff according to the result.
strm | The underlying stream |
Definition at line 546 of file ShaderMPlexer.cs.
|
virtual |
Implements NShader.Lexer.ScanBuff.
Definition at line 611 of file ShaderMPlexer.cs.
|
virtual |
Implements NShader.Lexer.ScanBuff.
Reimplemented in NShader.Lexer.Scanner.LittleEndTextBuff, and NShader.Lexer.Scanner.BigEndTextBuff.
Definition at line 573 of file ShaderMPlexer.cs.
References NShader.Lexer.EOF.
|
protected |
Definition at line 533 of file ShaderMPlexer.cs.
|
protected |
Definition at line 534 of file ShaderMPlexer.cs.
|
getset |
Definition at line 642 of file ShaderMPlexer.cs.
|
get |
Definition at line 607 of file ShaderMPlexer.cs.