add package support for gtcp
package main
import (
+ "encoding/binary"
"fmt"
)
func main() {
- array := make([]interface{}, 0, 10)
- array[8] = 1
- fmt.Println(array)
+ fmt.Println(binary.BigEndian.Uint32([]byte{byte(1), byte(1), byte(1), byte(1), byte(1)}))
}
\ No newline at end of file
