Discover Packages
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza
decoder
package
Version:
v0.84.0
Opens a new window with list of versions in this module.
Published: Aug 29, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
LookupEncoding attempts to match the string name provided with a character set encoding.
New wraps a character set encoding and creates a reusable buffer to reduce allocation.
Decoder is not thread-safe and must not be used in multiple goroutines.
Decode converts the bytes in msgBuf to UTF-8 from the configured encoding.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.