Changed the interface to not include the data length, and instead calculate it before stuffing it into the native call.