Versions in this module Expand all Collapse all v1 v1.0.0 Mar 7, 2025 Changes in this version + const HTML5 + const POSIX + const UTF16BE + const UTF16LE + const UTF8 + const WINDOWS + func BytesReader(b []byte, d EncodingHint) io.Reader + func BytesWriter(b *bytes.Buffer, d EncodingHint) io.Writer + func ReadFile(name string, d EncodingHint) ([]byte, error) + type EncodingHint int + type UTFReadCloser interface + Close func() error + Read func(p []byte) (n int, err error) + func NewReader(r io.Reader, d EncodingHint) UTFReadCloser + func OpenFile(name string, d EncodingHint) (UTFReadCloser, error) + type UTFScanCloser interface + Buffer func(buf []byte, max int) + Bytes func() []byte + Close func() error + Err func() error + Scan func() bool + Split func(split bufio.SplitFunc) + Text func() string + func NewScanner(name string, d EncodingHint) (UTFScanCloser, error) + type UTFWriteCloser interface + Close func() error + Write func(p []byte) (n int, err error) + func NewWriter(r io.Writer, d EncodingHint) UTFWriteCloser