mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
16 lines
376 B
Go
16 lines
376 B
Go
package heisi
|
|
|
|
import "unsafe"
|
|
|
|
// slice is the runtime representation of a slice.
|
|
// It cannot be used safely or portably and its representation may
|
|
// change in a later release.
|
|
//
|
|
// Unlike reflect.SliceHeader, its Data field is sufficient to guarantee the
|
|
// data it references will not be garbage collected.
|
|
type slice struct {
|
|
data unsafe.Pointer
|
|
len int
|
|
cap int
|
|
}
|