Sfairadora

  • Reference Guide

skip_cbytes_back

skip_cbytes_back(bin, n, set)
Returns the index of the first byte in the bin data before the position n (including the byte at the index n) that is contained in the set. If no such byte is found, the function returns –1. In other words, it skips back all the byte values not contained in specified set. The index of the first byte in the data is 0. If n is negative, 0 is used.
The bin and set parameters are of the Binary type. The parameter n and the return value are of the Int type.
Note: this function serves to manipulate binary data. To handle a string, use the analogical function skip_cchars_back.

See Also