aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/mime/multipart/readmimeheader.go
blob: e6be490c8cc46908318389426049897bdc52668b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package multipart

import (
	"net/textproto"
	_ "unsafe" // for go:linkname

)

// readMIMEHeader is defined in package net/textproto.
//
//go:linkname readMIMEHeader net/textproto.readMIMEHeader
func readMIMEHeader(r *textproto.Reader, maxMemory, maxHeaders int64) (textproto.MIMEHeader, error)