Why the "new Uint8Array" step? Are callers to be permitted to pass in something more general than a Uint8Array? If so, should this be extended to the other API functions, too, perhaps by integrating it into check_injectBytes?