aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/emersion/go-imap/literal.go
blob: b5b7f553831bcf3c95868ab1459a1539ed2790b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}