Versions in this module Expand all Collapse all v1 v1.0.0 May 31, 2023 Changes in this version + func ReadSkipBOM(rd io.Reader) (*Reader, Encoding) + type Encoding int + const UTF16BigEndian + const UTF16LittleEndian + const UTF32BigEndian + const UTF32LittleEndian + const UTF8 + const Unknown + func (e Encoding) String() string + type Reader struct + func (r *Reader) Read(p []byte) (n int, err error) + type Writer struct + func WriteWithBOM(wt io.Writer, e Encoding) *Writer + func (w *Writer) Available() int + func (w *Writer) Buffered() int + func (w *Writer) Flush() error + func (w *Writer) Write(p []byte) (nn int, err error)