JavaScript versions of memset/memcpy for use with typed arrays, plus polyfills for proposed built-in versions of those operations.