$ 0 0 The write/putn operation makes a copy of the input buffer which is unnecessary in the case where the user specifies a streambuf.