Class ByteRunAutomaton
Automaton representation for matching UTF-8 byte[].
Inheritance
System.Object
ByteRunAutomaton
Assembly: Lucene.Net.dll
Syntax
public class ByteRunAutomaton : RunAutomaton
Constructors
|
Improve this Doc
View Source
ByteRunAutomaton(Automaton)
Declaration
public ByteRunAutomaton(Automaton a)
Parameters
|
Improve this Doc
View Source
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 Source
Run(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 |
|