quotedprintable
少于1分钟
quotedprintable
https://pkg.go.dev/mime/quotedprintable@go1.20.1
Package quotedprintable implements quoted-printable encoding as specified by RFC 2045.
常量
This section is empty.
变量
This section is empty.
函数
This section is empty.
类型
type Reader
|
|
Reader is a quoted-printable decoder.
func NewReader
|
|
NewReader returns a quoted-printable reader, decoding from r.
Example
|
|
(*Reader) Read
|
|
Read reads and decodes quoted-printable data from the underlying reader.
type Writer
|
|
A Writer is a quoted-printable writer that implements io.WriteCloser.
func NewWriter
|
|
NewWriter returns a new Writer that writes to w.
Example
|
|
(*Writer) Close
|
|
Close closes the Writer, flushing any unwritten data to the underlying io.Writer, but does not close the underlying io.Writer.
(*Writer) Write
|
|
Write encodes p using quoted-printable encoding and writes it to the underlying io.Writer. It limits line length to 76 characters. The encoded bytes are not necessarily flushed until the Writer is closed.