Documentation ¶
Overview ¶
rewrite multipart reader for compatibility with invalid boundary
Index ¶
Constants ¶
View Source
const ( FINDING_BOUNDARY = 0 PARSING_BLOCK_HEADER = iota PARSING_BLOCK_BODY FINISHED )
Variables ¶
Functions ¶
func BytesJoinSize ¶
func GetPartEmptyLineNum ¶
Types ¶
type Part ¶
type Part struct { Header textproto.MIMEHeader // contains filtered or unexported fields }
func (*Part) ReadRawHeader ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func NewReaderWithString ¶
func (*Reader) NextRawPart ¶
Click to show internal directories.
Click to hide internal directories.