[FEATURE] PipeWrap support for writeBuffer.