mirror of https://go.googlesource.com/go
16 lines
457 B
Go
16 lines
457 B
Go
// 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)
|