void OnSourceData(ByteBuffer buffer) { currentBuffer = buffer; source.PauseReading(); target.ResumeWriting(); }