getimap/vendor/github.com/emersion/go-imap/literal.go
2020-03-10 13:57:28 +01:00

14 lines
184 B
Go

package imap
import (
"io"
)
// A literal, as defined in RFC 3501 section 4.3.
type Literal interface {
io.Reader
// Len returns the number of bytes of the literal.
Len() int
}