package
0.0.0-20211215144147-6bf85cd490dd
Repository: https://github.com/teocci/go-mavlink-parser.git
Documentation: pkg.go.dev

# Functions

BytesReader is a convenience function that takes a []byte and decodes them to UTF-8.
No description provided by the author
NewReader wraps a Reader to decode Unicode to UTF-8 as it reads.
NewScanner is a convenience function that takes a filename and returns a scanner.
OpenFile is the equivalent of os.Open().
ReadFile is the equivalent of ioutil.ReadFile().

# Constants

HTML5 indicates that the file came from the web This is recommended by the W3C for use in HTML 5: "For compatibility with deployed content, the byte order mark (also known as BOM) is considered more authoritative than anything else." http://www.w3.org/TR/encoding/#specification-hooks.
POSIX indicates that the file came from Unix or Unix-like systems.
UTF16BE indicates the specified encoding.
UTF16LE indicates the specified encoding.
UTF8 indicates the specified encoding.
WINDOWS indicates that the file came from a MS-Windows system.

# Interfaces

UTFReadCloser describes a ReadCloser structure for this package.
UTFScanCloser describes a new utfmgr ScanCloser structure.

# Type aliases

EncodingHint indicates the file's encoding if there is no BOM.