yamlet
Safe HaskellNone
LanguageGHC2021

Yamlet.Internal.Input

Description

Detection of the encoding of the input.

This module is intended for internal use only, and may change without warning in subsequent releases.

Synopsis

Documentation

decodeInput :: ByteString -> Either Error Text Source #

Decode the bytes of a stream to text. The encoding is UTF-8, UTF-16 or UTF-32, detected as the YAML specification describes.