golang输入输出(input/output)
func main() { p := make([]byte, num) n, err := reader.Read(p) if n > 0 { fmt.println("读取到内容",p[:n]) } }
Take a small step every day
func main() { p := make([]byte, num) n, err := reader.Read(p) if n > 0 { fmt.println("读取到内容",p[:n]) } }