一次`io.Reader`调用同时返回`n > 0`和`err == io.EOF`。调用方应如何处理?

来自Go
入门 1分钟

一次`io.Reader`调用同时返回`n > 0`和`err == io.EOF`。调用方应如何处理?

报告错误