- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 01 Nov 2018 01:18:02 -0700
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 1 November 2018 08:18:23 UTC
```webidl
partial interface TextEncoder {
TextEncoderEncodeIntoResults encodeInto(Uint8Array output, USVString input, optional unsigned long long inputOffset = 0);
};
dictionary TextEncoderEncodeIntoResults {
unsigned long long outputOffset;
unsigned long long inputOffset;
};
```
(Doing `inputOffset` correctly will be a little involved due to code unit -> scalar value conversion, but shouldn't be problematic. https://infra.spec.whatwg.org/#strings has details.)
--
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/issues/69#issuecomment-434966945
Received on Thursday, 1 November 2018 08:18:23 UTC