mirror of
https://github.com/criyle/go-judge.git
synced 2025-11-04 14:50:02 +08:00
8 lines
119 B
Go
8 lines
119 B
Go
package model
|
|
|
|
import "unsafe"
|
|
|
|
func byteArrayToString(buf []byte) string {
|
|
return *(*string)(unsafe.Pointer(&buf))
|
|
}
|