Two functions enable you to locate a value in a Buffer, beginning from an offset value.
Find in Buffer
Searches the buffer for a value. The search is from the start of the buffer.
Find in Buffer Back
Searches the buffer for a value. The search is from the end of the buffer.
![]() |
Find in Buffer Back: since this search starts from the end of the buffer, you must change the offset from the default offset value of zero. For example, if the buffer is 128 bytes long, set the offset to 127 to begin the search from the end of the buffer. |
Find in Buffer/Find in Buffer Back
|
Parameter Name |
Purpose |
A |
Buffer |
Select the Buffer you want to search |
B |
Value |
The value to search for |
C |
Offset in Buffer |
Determines the start byte for the search *Find in Buffer Back: change the offset from the default value of zero. For example, if the buffer is 128 bytes long, set the offset to 127 to begin the search from the end of the buffer. |
D |
Data Tag (destination) |
This is the data tag that will hold the copied bytes. |