日本語 English

CharSearch

A function that searches a BYTE array for a specified character code and gets the hit position.

Overview

Scans the byte array from the search start position to the search end position for the specified character code
Outputs the position of the specified Nth hit
(Used inside the Deserialize function)

Symbols

CharSearch

Search a byte array for a character

CharSearch function
In-out
In
BYTE[*]
Byte array to search
Input
StartPos
UINT
Search start position
EndPos
UINT
Search end position
Num
UINT
Hit count
Character
BYTE
Search character
Output
CharSearch
UINT
Result position

* To search from the end, set search start position > search end position

Related pages

Comments