I thought that I should copy it over after pChannel->process(), which would require that I check in both places.  I guess I'm a little confused as to what process actually does here...would it be ok to copy the buffer over before process?