isSupported

Check if an architecture is supported by the library.

Return

True if the architecture is supported

Example:

if (CapstoneEngine.isSupported(Architecture.ARM64)) {
println("ARM64 is supported")
}

Parameters

arch

Architecture to check