Updated to include WriteAllBytes() Method

Sep 12, 2011 at 5:16 PM

Hi,

I have tried to extend the TxFileManager to include the method WriteAllBytes(), since there are instances where the WriteAllText() method invalidates the file format. Examples of this could be attempting to write a PDF file stream or image formates such as JPEG. I have tested the code briefly and it seems to work fine. I have also created the relevant test methods, but haven't had a chance to test these yet.

I have uploaded a zip file with the new solution to my Skydrive. Just click on the TxFileManager folder and you'll find the solution zipped up there:

https://skydrive.live.com/redir.aspx?cid=197d857884837060&resid=197D857884837060!328

 

Thanks for writing this set of classes, it has saved me a ton of work.

Kind regards,

 

Kaine

Oct 6, 2011 at 4:34 PM

Thanks, Kaine for sharing your enhancements. We will add this to the library in the next version.

Oct 22, 2011 at 2:19 PM

You're welcome. It's great to have been able to have contributed.

Kaine

Sep 1, 2013 at 9:03 AM
Edited Sep 1, 2013 at 10:56 PM
What happened to this pull request? I just discovered this library, thinking it was exactly what I need for my current project, but without support for WriteAllBytes, it's not much help.

EDIT: I just submitted a pull request adding this feature
Sep 3, 2013 at 2:52 AM
Hi Jrnail23, I will look at the pull request when I am back from tomorrow. Thanks. Chinh
Sep 3, 2013 at 5:56 PM
Jrnail23, Your changes are in the main branch. Thanks very much.
Apr 29, 2014 at 10:20 PM
Are there plans to merge this into a release candidate (as in available via NuGet)? 1.3 does not contain this patch.
Nov 4, 2014 at 4:36 PM
I will be working on version 2.0 soon in the next few weeks, and will put that on NuGet when done.
Jan 22, 2015 at 8:09 PM
Hey - any idea when a new version is gonna be out to support Kaine's WriteAllBytes()?