Closed erikthysell closed 3 years ago
maybe related to #55 ?
I was using the nuget package (lastest release) which dont have the ExternallyManagedStreamProvider
(yet). Switching ByteStreamProvider
to ExternallyManagedStreamProvider
solved the problem. ByteStreamProvider
seems to only be for reading purpose.
First - thanks for a fantastic library! I am looking for a way to have a all three needed shapefiles (shp, shx and dbf) written to a
MemoryStream
(or three separateMemoryStream
's). I have tried the following:But this just result in an exception being thrown:
It also happens if
MemoryStream
is instantiated with initial capacityinitCapacity
= 0 , without capacity argument (as stated here should result in an expandable stream), and/or if I setinitCapacity
= 2^20 (which I think would be large enough).Is there another way of accomplishing this or can it be fixed? (or am I doing something wrong??)