net-protocol
net-protocol copied to clipboard
Avoid rbuf copying on the first read
When the caller doesn't specify the destination, there's no need to append the rbuf to empty string - the rbuf slice itself could be used as initial dest value.