3 ms·
100% this, that is the easiest and less error prone way to do it. Even if the author still insisted on using a single interface, he could also do what he wants
by Seb-C 1y ago
100% this, that is the easiest and less error prone way to do it.
Even if the author still insisted on using a single interface, he could also do what he wants by relying on bytes.Buffer rather than bytes.Reader.