charset

package
v0.0.0-...-a35f291 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CHARSET_MANAGER_ID = "CharsetManager"

Variables

This section is empty.

Functions

This section is empty.

Types

type CharsetManager

type CharsetManager struct {
	// contains filtered or unexported fields
}

func NewCharsetManager

func NewCharsetManager(r *registry.Container) *CharsetManager

func RestoreCharsetManager

func RestoreCharsetManager(r *registry.Container) *CharsetManager

func (CharsetManager) DecodeMessageBody

func (self CharsetManager) DecodeMessageBody(msgBody []byte, charset string) (string, error)

func (CharsetManager) EncodeMessageBody

func (self CharsetManager) EncodeMessageBody(msgBody string, charset string) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL