WriteStream support attach exist buff and check the write bound