quotedprintable

package
v1.0.2006 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StdEncoding, _ = NewEncoding(stdEncoder)

Functions

This section is empty.

Types

type Encoding

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

func NewEncoding

func NewEncoding(encoder string) (*Encoding, error)

func (*Encoding) Decode

func (e *Encoding) Decode(src []byte) ([]byte, error)

func (*Encoding) DecodeString

func (e *Encoding) DecodeString(s string) ([]byte, error)

DecodeString returns the bytes represented by the PunyEncoding string s.

func (*Encoding) DecodedLen

func (e *Encoding) DecodedLen(n int) int

func (*Encoding) Encode

func (e *Encoding) Encode(src []byte) ([]byte, error)

func (*Encoding) EncodeToString

func (e *Encoding) EncodeToString(src []byte) (string, error)

EncodeToString returns the PunyEncoding encoding of src.

func (*Encoding) EncodedLen

func (e *Encoding) EncodedLen(n int) int

Jump to

Keyboard shortcuts

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