Comments (3)
If you create a StreamWriter over MemoryStream yourself and set leaveOpen to true, then I would think this works for you. Correct?
It very well may be that there should be easier support for this with an overload, but it can quickly end up in overload hell. 😅
from sep.
Ahh thanks for the suggestion, that actually does work! I had just assumed that the writer on the Sep end must have been doing something to close the stream, so I didn't realise I could circumvent the behaviour like this :)
from sep.
Added convenience overloads with leaveOpen
for this in the future in #123
from sep.
Related Issues (20)
- Add a degree or parallelism version of ParallelEnumerate HOT 9
- Specified argument was out of the range of valid values. at nietras.SeparatedValues.SepReader.ParseNewRows() HOT 10
- Case Sensitivity on row[string] HOT 5
- No async support HOT 8
- Error CS4012 Parameters or locals of type 'SepReader.Row' cannot be declared in async methods or async lambda expressions. HOT 2
- How to start read not standard csv file. HOT 4
- Implement IDataReader HOT 2
- Source generation for object property mapping HOT 1
- Sep does not gracefully handle improperly-escaped double quotes HOT 3
- Assembly not StrongNamed signed HOT 3
- GetOrAddCol(colIndex) is actually just Get(colIndex) HOT 12
- Implement SepWriterOptions.WriteHeader (false) HOT 4
- Implement SepWriter.DisableColCountCheck (true)
- Implement SepWriterOptions.Escape (true)
- Implement SepReaderOptions.Trim
- Add support for skipping empty lines? HOT 4
- Add support for trimming quoted csv headers and values? HOT 2
- Question about batch write HOT 3
- Ignore double quotes in data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sep.