Class SlidingBufferOptions
Options for the Sliding Buffer
Namespace: StreamRegex.Extensions
Assembly: StreamRegex.Extensions.dll
Syntax
public class SlidingBufferOptions : object
Properties
| Improve this Doc View SourceBufferSize
Base size in bytes of the read buffer for processing. If it is not at least twice as large as OverlapSize, twice the OverlapSize will be used instead.
Declaration
public int BufferSize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
DelegateOptions
Options to be passed to Delegates
Declaration
public DelegateOptions DelegateOptions { get; set; }
Property Value
Type | Description |
---|---|
DelegateOptions |
OverlapSize
Size in bytes to use for overlap to ensure that matches that span BufferSize boundaries are found. Potential matches longer than this parameter may be missed. Increasing this parameter may impact performance as it increases the number of characters parsed twice.
Declaration
public int OverlapSize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |