流操作 stream 可读 可写 可读可写 写入之后读出
事件:
data 当数据可读时触发
end 没有更多数据时触发
error 在接收和写入过程中发生错误时触发
Finnish 所有数据被写入 到底层系统是触发