Why does the encoding/binary source consider data size of bool is the same as *bool?

前端 未结 0 517
旧时难觅i
旧时难觅i 2021-01-04 02:09

In the go source file src/encoding/binary/binary.go, you can see this:

func intDataSize(data interface{}) int {
    switch data := data.(type) {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题