This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://heycam.github.io/webidl/#es-buffer-source-types [[ The result of converting an IDL value of any buffer source type to an ECMAScript value is the Object value that represents a reference to the same object that the IDL value represents. ]] Can we make this easier. E.g. I have a sequence of bytes, and you make me an ArrayBuffer or UInt8Array. Or is that not worth the effort? See https://encoding.spec.whatwg.org/#dom-textencoder-encode for an algorithm where the prose detailing what is returned is not exactly ideal.
Yes I think it's worth having something like this.