Class ByteRunAutomaton
Automaton representation for matching UTF-8 byte[].
Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Util.Automaton
Assembly: Lucene.Net.dll
Syntax
public class ByteRunAutomaton : RunAutomaton
  Constructors
| Improve this Doc View SourceByteRunAutomaton(Automaton)
Declaration
public ByteRunAutomaton(Automaton a)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Automaton | a | 
ByteRunAutomaton(Automaton, Boolean)
Expert: if utf8 is true, the input is already byte-based
Declaration
public ByteRunAutomaton(Automaton a, bool utf8)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Automaton | a | |
| System.Boolean | utf8 | 
Methods
| Improve this Doc View SourceRun(Byte[], Int32, Int32)
Returns true if the given byte array is accepted by this automaton.
Declaration
public virtual bool Run(byte[] s, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte[] | s | |
| System.Int32 | offset | |
| System.Int32 | length | 
Returns
| Type | Description | 
|---|---|
| System.Boolean |