amber/web/text_decoder_stream
Types
pub type TextDecoderStream
Values
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(text_decoder_option.TextDecoderOption),
) -> TextDecoderStream
pub fn read_write_pair(
decoder: TextDecoderStream,
) -> #(
readable_stream.ReadableStream(String),
writable_stream.WritableStream(w),
)
pub fn readable(
decoder: TextDecoderStream,
) -> readable_stream.ReadableStream(String)
pub fn writable(
decoder: TextDecoderStream,
) -> writable_stream.WritableStream(w)