[whatwg/encoding] "interface mixin TextDecoderCommon { readonly ..." (#233)

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