Add input buffer and output buffer(onWriteComplate & Buffer)