C# Class PeterO.Cbor.CharacterReader

Inheritance: ICharacterInput
Datei anzeigen Open project: peteroupc/CBOR

Public Methods

Method Description
CharacterReader ( Stream stream ) : System
CharacterReader ( Stream stream, int mode ) : System
CharacterReader ( Stream stream, int mode, bool errorThrow ) : System
CharacterReader ( Stream stream, int mode, bool errorThrow, bool dontSkipUtf8Bom ) : System
CharacterReader ( string str ) : System
CharacterReader ( string str, bool skipByteOrderMark ) : System
CharacterReader ( string str, bool skipByteOrderMark, bool errorThrow ) : System
CharacterReader ( string str, int offset, int length ) : System
CharacterReader ( string str, int offset, int length, bool skipByteOrderMark, bool errorThrow ) : System
Read ( int chars, int index, int length ) : int
ReadChar ( ) : int

Private Methods

Method Description
DetectUnicodeEncoding ( ) : int
DetectUtf8Or16Or32 ( int c1 ) : int
DetectUtf8OrUtf16 ( int c1 ) : int

Method Details

CharacterReader() public method

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

CharacterReader() public method

public CharacterReader ( Stream stream, int mode ) : System
stream Stream
mode int
return System

CharacterReader() public method

public CharacterReader ( Stream stream, int mode, bool errorThrow ) : System
stream Stream
mode int
errorThrow bool
return System

CharacterReader() public method

public CharacterReader ( Stream stream, int mode, bool errorThrow, bool dontSkipUtf8Bom ) : System
stream Stream
mode int
errorThrow bool
dontSkipUtf8Bom bool
return System

CharacterReader() public method

public CharacterReader ( string str ) : System
str string
return System

CharacterReader() public method

public CharacterReader ( string str, bool skipByteOrderMark ) : System
str string
skipByteOrderMark bool
return System

CharacterReader() public method

public CharacterReader ( string str, bool skipByteOrderMark, bool errorThrow ) : System
str string
skipByteOrderMark bool
errorThrow bool
return System

CharacterReader() public method

public CharacterReader ( string str, int offset, int length ) : System
str string
offset int
length int
return System

CharacterReader() public method

public CharacterReader ( string str, int offset, int length, bool skipByteOrderMark, bool errorThrow ) : System
str string
offset int
length int
skipByteOrderMark bool
errorThrow bool
return System

Read() public method

public Read ( int chars, int index, int length ) : int
chars int
index int
length int
return int

ReadChar() public method

public ReadChar ( ) : int
return int