1 // Copyright 2023 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 package multipart 5 6 import ( 7 "net/textproto" 8 _ "unsafe" // for go:linkname 9 ) 10 11 // readMIMEHeader is defined in package net/textproto. 12 // 13 //go:linkname readMIMEHeader net/textproto.readMIMEHeader 14 func readMIMEHeader(r *textproto.Reader, maxMemory, maxHeaders int64) (textproto.MIMEHeader, error) 15