package unsafeheader
import "golang.org/x/sys/internal/unsafeheader"
Package unsafeheader contains header declarations for the Go runtime's slice and string implementations.
This package allows x/sys to use types equivalent to reflect.SliceHeader and reflect.StringHeader without introducing a dependency on the (relatively heavy) "reflect" package.
Index ¶
Types ¶
type Slice ¶
Slice is the runtime representation of a slice. It cannot be used safely or portably and its representation may change in a later release.
type String ¶
String is the runtime representation of a string. It cannot be used safely or portably and its representation may change in a later release.
Source Files ¶
unsafeheader.go
- Version
- v0.1.0
- Published
- Oct 13, 2022
- Platform
- windows/amd64
- Imports
- 1 packages
- Last checked
- 33 minutes ago –
Tools for package owners.