C# Класс Peg.Base.PegByteParser

Наследование: PegBaseParser
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
src_ byte[]

Открытые методы

Метод Описание
Bit ( int bitNo, byte toMatch ) : bool
Bits ( int lowBitNo, int highBitNo, BytesetData toMatch ) : bool
Bits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
BitsInto ( int lowBitNo, int highBitNo, BytesetData toMatch, int &into ) : bool
BitsInto ( int lowBitNo, int highBitNo, int &into ) : bool
Char ( byte c1 ) : bool
Char ( byte c1, byte c2 ) : bool
Char ( byte c1, byte c2, byte c3 ) : bool
Char ( byte c1, byte c2, byte c3, byte c4 ) : bool
Char ( byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
Char ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6 ) : bool
Char ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7 ) : bool
Char ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7, byte c8 ) : bool
Construct ( byte src, TextWriter Fout ) : void
Fatal ( string sMsg ) : bool
GetSource ( ) : byte[]
IChar ( byte c1 ) : bool
IChar ( byte c1, byte c2 ) : bool
IChar ( byte c1, byte c2, byte c3 ) : bool
IChar ( byte c1, byte c2, byte c3, byte c4 ) : bool
IChar ( byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
IChar ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6 ) : bool
IChar ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7 ) : bool
In ( byte s ) : bool
In ( byte c0, byte c1 ) : bool
In ( byte c0, byte c1, byte c2, byte c3 ) : bool
In ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
In ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7 ) : bool
Into ( Matcher toMatch, PegBegEnd &begEnd ) : bool
Into ( Matcher toMatch, byte &into ) : bool
Into ( Matcher toMatch, double &into ) : bool
Into ( Matcher toMatch, int &into ) : bool
IntoBits ( int lowBitNo, int highBitNo, BytesetData toMatch, int &val ) : bool
IntoBits ( int lowBitNo, int highBitNo, int &val ) : bool
NotBit ( int bitNo, byte toMatch ) : bool
NotBits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
NotIn ( byte s ) : bool
NotOneOf ( byte s ) : bool
OneOf ( BytesetData bset ) : bool
OneOf ( byte s ) : bool
OneOf ( byte c0, byte c1 ) : bool
OneOf ( byte c0, byte c1, byte c2 ) : bool
OneOf ( byte c0, byte c1, byte c2, byte c3 ) : bool
OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4 ) : bool
OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5, byte c6 ) : bool
OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7 ) : bool
PeekBit ( int bitNo, byte toMatch ) : bool
PeekBits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
PegByteParser ( ) : System
PegByteParser ( byte src ) : System
PegByteParser ( byte src, TextWriter errOut ) : System
SetSource ( byte src ) : void
ToUpper ( byte c ) : byte
Warning ( string sMsg ) : bool

Защищенные методы

Метод Описание
LogOutMsg ( string sErrKind, string sMsg ) : void

Описание методов

Bit() публичный Метод

public Bit ( int bitNo, byte toMatch ) : bool
bitNo int
toMatch byte
Результат bool

Bits() публичный Метод

public Bits ( int lowBitNo, int highBitNo, BytesetData toMatch ) : bool
lowBitNo int
highBitNo int
toMatch BytesetData
Результат bool

Bits() публичный Метод

public Bits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
lowBitNo int
highBitNo int
toMatch byte
Результат bool

BitsInto() публичный Метод

public BitsInto ( int lowBitNo, int highBitNo, BytesetData toMatch, int &into ) : bool
lowBitNo int
highBitNo int
toMatch BytesetData
into int
Результат bool

BitsInto() публичный Метод

public BitsInto ( int lowBitNo, int highBitNo, int &into ) : bool
lowBitNo int
highBitNo int
into int
Результат bool

Char() публичный Метод

public Char ( byte c1 ) : bool
c1 byte
Результат bool

Char() публичный Метод

public Char ( byte c1, byte c2 ) : bool
c1 byte
c2 byte
Результат bool

Char() публичный Метод

public Char ( byte c1, byte c2, byte c3 ) : bool
c1 byte
c2 byte
c3 byte
Результат bool

Char() публичный Метод

public Char ( byte c1, byte c2, byte c3, byte c4 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
Результат bool

Char() публичный Метод

public Char ( byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
Результат bool

Char() публичный Метод

public Char ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
c6 byte
Результат bool

Char() публичный Метод

public Char ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
c6 byte
c7 byte
Результат bool

Char() публичный Метод

public Char ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7, byte c8 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
c6 byte
c7 byte
c8 byte
Результат bool

Construct() публичный Метод

public Construct ( byte src, TextWriter Fout ) : void
src byte
Fout System.IO.TextWriter
Результат void

Fatal() публичный Метод

public Fatal ( string sMsg ) : bool
sMsg string
Результат bool

GetSource() публичный Метод

public GetSource ( ) : byte[]
Результат byte[]

IChar() публичный Метод

public IChar ( byte c1 ) : bool
c1 byte
Результат bool

IChar() публичный Метод

public IChar ( byte c1, byte c2 ) : bool
c1 byte
c2 byte
Результат bool

IChar() публичный Метод

public IChar ( byte c1, byte c2, byte c3 ) : bool
c1 byte
c2 byte
c3 byte
Результат bool

IChar() публичный Метод

public IChar ( byte c1, byte c2, byte c3, byte c4 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
Результат bool

IChar() публичный Метод

public IChar ( byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
Результат bool

IChar() публичный Метод

public IChar ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
c6 byte
Результат bool

IChar() публичный Метод

public IChar ( byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
c6 byte
c7 byte
Результат bool

In() публичный Метод

public In ( byte s ) : bool
s byte
Результат bool

In() публичный Метод

public In ( byte c0, byte c1 ) : bool
c0 byte
c1 byte
Результат bool

In() публичный Метод

public In ( byte c0, byte c1, byte c2, byte c3 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
Результат bool

In() публичный Метод

public In ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
Результат bool

In() публичный Метод

public In ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
c6 byte
c7 byte
Результат bool

Into() публичный Метод

public Into ( Matcher toMatch, PegBegEnd &begEnd ) : bool
toMatch Matcher
begEnd PegBegEnd
Результат bool

Into() публичный Метод

public Into ( Matcher toMatch, byte &into ) : bool
toMatch Matcher
into byte
Результат bool

Into() публичный Метод

public Into ( Matcher toMatch, double &into ) : bool
toMatch Matcher
into double
Результат bool

Into() публичный Метод

public Into ( Matcher toMatch, int &into ) : bool
toMatch Matcher
into int
Результат bool

IntoBits() публичный Метод

public IntoBits ( int lowBitNo, int highBitNo, BytesetData toMatch, int &val ) : bool
lowBitNo int
highBitNo int
toMatch BytesetData
val int
Результат bool

IntoBits() публичный Метод

public IntoBits ( int lowBitNo, int highBitNo, int &val ) : bool
lowBitNo int
highBitNo int
val int
Результат bool

LogOutMsg() защищенный Метод

protected LogOutMsg ( string sErrKind, string sMsg ) : void
sErrKind string
sMsg string
Результат void

NotBit() публичный Метод

public NotBit ( int bitNo, byte toMatch ) : bool
bitNo int
toMatch byte
Результат bool

NotBits() публичный Метод

public NotBits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
lowBitNo int
highBitNo int
toMatch byte
Результат bool

NotIn() публичный Метод

public NotIn ( byte s ) : bool
s byte
Результат bool

NotOneOf() публичный Метод

public NotOneOf ( byte s ) : bool
s byte
Результат bool

OneOf() публичный Метод

public OneOf ( BytesetData bset ) : bool
bset BytesetData
Результат bool

OneOf() публичный Метод

public OneOf ( byte s ) : bool
s byte
Результат bool

OneOf() публичный Метод

public OneOf ( byte c0, byte c1 ) : bool
c0 byte
c1 byte
Результат bool

OneOf() публичный Метод

public OneOf ( byte c0, byte c1, byte c2 ) : bool
c0 byte
c1 byte
c2 byte
Результат bool

OneOf() публичный Метод

public OneOf ( byte c0, byte c1, byte c2, byte c3 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
Результат bool

OneOf() публичный Метод

public OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
c4 byte
Результат bool

OneOf() публичный Метод

public OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
Результат bool

OneOf() публичный Метод

public OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5, byte c6 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
c6 byte
Результат bool

OneOf() публичный Метод

public OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4, byte c5, byte c6, byte c7 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
c6 byte
c7 byte
Результат bool

PeekBit() публичный Метод

public PeekBit ( int bitNo, byte toMatch ) : bool
bitNo int
toMatch byte
Результат bool

PeekBits() публичный Метод

public PeekBits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
lowBitNo int
highBitNo int
toMatch byte
Результат bool

PegByteParser() публичный Метод

public PegByteParser ( ) : System
Результат System

PegByteParser() публичный Метод

public PegByteParser ( byte src ) : System
src byte
Результат System

PegByteParser() публичный Метод

public PegByteParser ( byte src, TextWriter errOut ) : System
src byte
errOut System.IO.TextWriter
Результат System

SetSource() публичный Метод

public SetSource ( byte src ) : void
src byte
Результат void

ToUpper() публичный статический Метод

public static ToUpper ( byte c ) : byte
c byte
Результат byte

Warning() публичный Метод

public Warning ( string sMsg ) : bool
sMsg string
Результат bool

Описание свойств

src_ защищенное свойство

protected byte[] src_
Результат byte[]