Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(stream-handling): optimize stream management
- Add CanSeek check before calling stream.Seek(0, SeekOrigin.Begin) - Add condition to return byte array directly if stream is MemoryStream - Use 'using' statement to ensure resource disposal with MemoryStream
- Loading branch information