amber/web/text_decoder_stream

Types

pub type TextDecoderStream

Functions

pub fn encoding(decoder: TextDecoderStream) -> String
pub fn fatal(decoder: TextDecoderStream) -> Bool
pub fn ignore_bom(decoder: TextDecoderStream) -> Bool
pub fn new() -> TextDecoderStream
pub fn new_with(
  label: String,
  options: List(TextDecoderOption),
) -> TextDecoderStream
pub fn read_write_pair(
  decoder: TextDecoderStream,
) -> #(ReadableStream(String), WritableStream(a))
pub fn readable(
  decoder: TextDecoderStream,
) -> ReadableStream(String)
pub fn writable(decoder: TextDecoderStream) -> WritableStream(a)
Search Document