C# Class Peg.Base.PegByteParser

Inheritance: PegBaseParser
Afficher le fichier Open project: Andos/BinaryFileSchema Class Usage Examples

Protected Properties

Свойство Type Description
src_ byte[]

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
LogOutMsg ( string sErrKind, string sMsg ) : void

Method Details

Bit() public méthode

public Bit ( int bitNo, byte toMatch ) : bool
bitNo int
toMatch byte
Résultat bool

Bits() public méthode

public Bits ( int lowBitNo, int highBitNo, BytesetData toMatch ) : bool
lowBitNo int
highBitNo int
toMatch BytesetData
Résultat bool

Bits() public méthode

public Bits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
lowBitNo int
highBitNo int
toMatch byte
Résultat bool

BitsInto() public méthode

public BitsInto ( int lowBitNo, int highBitNo, BytesetData toMatch, int &into ) : bool
lowBitNo int
highBitNo int
toMatch BytesetData
into int
Résultat bool

BitsInto() public méthode

public BitsInto ( int lowBitNo, int highBitNo, int &into ) : bool
lowBitNo int
highBitNo int
into int
Résultat bool

Char() public méthode

public Char ( byte c1 ) : bool
c1 byte
Résultat bool

Char() public méthode

public Char ( byte c1, byte c2 ) : bool
c1 byte
c2 byte
Résultat bool

Char() public méthode

public Char ( byte c1, byte c2, byte c3 ) : bool
c1 byte
c2 byte
c3 byte
Résultat bool

Char() public méthode

public Char ( byte c1, byte c2, byte c3, byte c4 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
Résultat bool

Char() public méthode

public Char ( byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
Résultat bool

Char() public méthode

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
Résultat bool

Char() public méthode

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
Résultat bool

Char() public méthode

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
Résultat bool

Construct() public méthode

public Construct ( byte src, TextWriter Fout ) : void
src byte
Fout System.IO.TextWriter
Résultat void

Fatal() public méthode

public Fatal ( string sMsg ) : bool
sMsg string
Résultat bool

GetSource() public méthode

public GetSource ( ) : byte[]
Résultat byte[]

IChar() public méthode

public IChar ( byte c1 ) : bool
c1 byte
Résultat bool

IChar() public méthode

public IChar ( byte c1, byte c2 ) : bool
c1 byte
c2 byte
Résultat bool

IChar() public méthode

public IChar ( byte c1, byte c2, byte c3 ) : bool
c1 byte
c2 byte
c3 byte
Résultat bool

IChar() public méthode

public IChar ( byte c1, byte c2, byte c3, byte c4 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
Résultat bool

IChar() public méthode

public IChar ( byte c1, byte c2, byte c3, byte c4, byte c5 ) : bool
c1 byte
c2 byte
c3 byte
c4 byte
c5 byte
Résultat bool

IChar() public méthode

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
Résultat bool

IChar() public méthode

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
Résultat bool

In() public méthode

public In ( byte s ) : bool
s byte
Résultat bool

In() public méthode

public In ( byte c0, byte c1 ) : bool
c0 byte
c1 byte
Résultat bool

In() public méthode

public In ( byte c0, byte c1, byte c2, byte c3 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
Résultat bool

In() public méthode

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
Résultat bool

In() public méthode

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
Résultat bool

Into() public méthode

public Into ( Matcher toMatch, PegBegEnd &begEnd ) : bool
toMatch Matcher
begEnd PegBegEnd
Résultat bool

Into() public méthode

public Into ( Matcher toMatch, byte &into ) : bool
toMatch Matcher
into byte
Résultat bool

Into() public méthode

public Into ( Matcher toMatch, double &into ) : bool
toMatch Matcher
into double
Résultat bool

Into() public méthode

public Into ( Matcher toMatch, int &into ) : bool
toMatch Matcher
into int
Résultat bool

IntoBits() public méthode

public IntoBits ( int lowBitNo, int highBitNo, BytesetData toMatch, int &val ) : bool
lowBitNo int
highBitNo int
toMatch BytesetData
val int
Résultat bool

IntoBits() public méthode

public IntoBits ( int lowBitNo, int highBitNo, int &val ) : bool
lowBitNo int
highBitNo int
val int
Résultat bool

LogOutMsg() protected méthode

protected LogOutMsg ( string sErrKind, string sMsg ) : void
sErrKind string
sMsg string
Résultat void

NotBit() public méthode

public NotBit ( int bitNo, byte toMatch ) : bool
bitNo int
toMatch byte
Résultat bool

NotBits() public méthode

public NotBits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
lowBitNo int
highBitNo int
toMatch byte
Résultat bool

NotIn() public méthode

public NotIn ( byte s ) : bool
s byte
Résultat bool

NotOneOf() public méthode

public NotOneOf ( byte s ) : bool
s byte
Résultat bool

OneOf() public méthode

public OneOf ( BytesetData bset ) : bool
bset BytesetData
Résultat bool

OneOf() public méthode

public OneOf ( byte s ) : bool
s byte
Résultat bool

OneOf() public méthode

public OneOf ( byte c0, byte c1 ) : bool
c0 byte
c1 byte
Résultat bool

OneOf() public méthode

public OneOf ( byte c0, byte c1, byte c2 ) : bool
c0 byte
c1 byte
c2 byte
Résultat bool

OneOf() public méthode

public OneOf ( byte c0, byte c1, byte c2, byte c3 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
Résultat bool

OneOf() public méthode

public OneOf ( byte c0, byte c1, byte c2, byte c3, byte c4 ) : bool
c0 byte
c1 byte
c2 byte
c3 byte
c4 byte
Résultat bool

OneOf() public méthode

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
Résultat bool

OneOf() public méthode

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
Résultat bool

OneOf() public méthode

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
Résultat bool

PeekBit() public méthode

public PeekBit ( int bitNo, byte toMatch ) : bool
bitNo int
toMatch byte
Résultat bool

PeekBits() public méthode

public PeekBits ( int lowBitNo, int highBitNo, byte toMatch ) : bool
lowBitNo int
highBitNo int
toMatch byte
Résultat bool

PegByteParser() public méthode

public PegByteParser ( ) : System
Résultat System

PegByteParser() public méthode

public PegByteParser ( byte src ) : System
src byte
Résultat System

PegByteParser() public méthode

public PegByteParser ( byte src, TextWriter errOut ) : System
src byte
errOut System.IO.TextWriter
Résultat System

SetSource() public méthode

public SetSource ( byte src ) : void
src byte
Résultat void

ToUpper() public static méthode

public static ToUpper ( byte c ) : byte
c byte
Résultat byte

Warning() public méthode

public Warning ( string sMsg ) : bool
sMsg string
Résultat bool

Property Details

src_ protected_oe property

protected byte[] src_
Résultat byte[]