You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import (
"reflect""unsafe"
)
constSIZEOF_INT32=4// bytes// Get the slice headerheader:=*(*reflect.SliceHeader)(unsafe.Pointer(&raw))
// The length and capacity of the slice are different.header.Len/=SIZEOF_INT32header.Cap/=SIZEOF_INT32// Convert slice header to an []int32data:=*(*[]int32)(unsafe.Pointer(&header))
[]byte
から[]uint64
への変換方法を調査するThe text was updated successfully, but these errors were encountered: