Higher level API for a Java/Scala JNA bridge