>>6,7
Unfortunately, though, the example code is GPL and thus not really compatible. It'd have to be implemented from scratch.