Typealias SkipDataCallback
public typealias SkipDataCallback = (_ capstone: Capstone, _ code: Data, _ offset: Data.Index) -> SkipDataResult
User-defined callback for skipData option.
Parameters
| Name | Type | Description |
|---|---|---|
| capstone |
|
|
| code | code being disassembled |
|
| offset | the position of the currently-examining byte |
Returns
a SkipDataResult instructing to skip a number of bytes, or stop the disassembly