blob: 25aa6e2092861b0952b7ea17ae64c9eb3c61ba0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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)
|