- From: Merina-De <notifications@github.com>
- Date: Wed, 30 Sep 2020 06:24:37 -0700
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/encoding/issues/233@github.com>
https://encoding.spec.whatwg.org/commit-snapshots/7f1765484aa4fd34fa024300f0e2a1cab61559da/#idl-index
> interface mixin TextDecoderCommon \{
> readonly attribute DOMString encoding;
> readonly attribute boolean fatal;
> readonly attribute boolean ignoreBOM;
> \};
>
> dictionary TextDecoderOptions \{
> boolean fatal = false;
> boolean ignoreBOM = false;
> \};
>
> dictionary TextDecodeOptions \{
> boolean stream = false;
> \};
>
> \[Exposed=\(Window,Worker\)\]
> interface TextDecoder \{
> constructor\(optional DOMString label = "utf\-8", optional TextDecoderOptions options = \{\}\);
>
> USVString decode\(optional \[AllowShared\] BufferSource input, optional TextDecodeOptions options = \{\}\);
> \};
> TextDecoder includes TextDecoderCommon;
>
> interface mixin TextEncoderCommon \{
> readonly attribute DOMString encoding;
> \};
>
> dictionary TextEncoderEncodeIntoResult \{
> unsigned long long read;
> unsigned long long written;
> \};
>
> \[Exposed=\(Window,Worker\)\]
> interface TextEncoder \{
> constructor\(\);
>
> \[NewObject\] Uint8Array encode\(optional USVString input = ""\);
> TextEncoderEncodeIntoResult encodeInto\(USVString source, \[AllowShared\] Uint8Arra\.\.\.
--
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/233
Received on Wednesday, 30 September 2020 13:24:49 UTC