mirror of
https://gitee.com/johng/gf
synced 2026-07-09 06:50:30 +08:00
14 lines
217 B
Go
14 lines
217 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/gogf/gf/internal/utilbytes"
|
|
)
|
|
|
|
func main() {
|
|
b := []byte{48, 49, 50, 51, 52, 53}
|
|
fmt.Println(string(b))
|
|
fmt.Println([]byte("\xff\xff"))
|
|
fmt.Printf(utilbytes.Export(b))
|
|
}
|