Method Reduce
Reduce(in ParseSegment, int, int)
Reduce the ParseSegment by amount of bytes from the left and right
Declaration
public static ParseSegment Reduce(in ParseSegment origin, int bytesFromLeft, int bytesFromRight)
Parameters
| Type | Name | Description |
|---|---|---|
| ParseSegment | origin | Original segment |
| int | bytesFromLeft | Amount to bytes to reduce from the left |
| int | bytesFromRight | Amount to bytes to reduce from the right |
Returns
| Type | Description |
|---|---|
| ParseSegment | New reduced segment |