[whatwg/encoding] Define encodeInto() API (#166)

This enables converting strings into byte sequences of pre-allocated buffers.

Also cleanup TextEncoder a bit.

Tests: ...

Fixes #69.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/encoding/pull/166

-- Commit Summary --

  * Define encodeInto() API

-- File Changes --

    M encoding.bs (95)

-- Patch Links --

https://github.com/whatwg/encoding/pull/166.patch
https://github.com/whatwg/encoding/pull/166.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/pull/166

Received on Thursday, 13 December 2018 11:47:00 UTC