Eliminate the copy to a staging buffer when that serves no functional purpose.
In WriteChars(), eliminate the copy step through a staging buffer when
it is not required for channel translation.