include: Add utility methods to convert from pointers to Typed Arrays