943,530 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 1347
  • C# RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Jul 25th, 2009
0

Re: Reading/Writing Bytes

Click to Expand / Collapse  Quote originally posted by FTProtocol ...
Same for you, stop spamming my topics.
I already gave you another approach for going about this topic and you ignored it. You may have tried it but did not post feedback. FYI this is considered "bumping" a thread at worst but hardly spamming. Drop the attitude and you may find people more willing to help. Just a thought.

Yes this is likely an encoding issue. Don't bring it back to a managed byte array without specifying the source encoding or better yet just stream one file to the other.
Attached Thumbnails
Click image for larger version

Name:	spam.jpg
Views:	8
Size:	46.1 KB
ID:	11017  
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Jul 25th, 2009
0

Re: Reading/Writing Bytes

Click to Expand / Collapse  Quote originally posted by sknake ...
I already gave you another approach for going about this topic and you ignored it. You may have tried it but did not post feedback. FYI this is considered "bumping" a thread at worst but hardly spamming. Drop the attitude and you may find people more willing to help. Just a thought.

Yes this is likely an encoding issue. Don't bring it back to a managed byte array without specifying the source encoding or better yet just stream one file to the other.
your sarcasm and your friends spam is what annoyed me, but yes i have tried every encoding known to man and i still cannot write a fully working file.

I do not understand why.
Reputation Points: -14
Solved Threads: 1
Junior Poster in Training
FTProtocol is offline Offline
99 posts
since May 2008
Jul 25th, 2009
0

Re: Reading/Writing Bytes

Maybe that is the problem, it is binary data after all. Perhaps you should just leave it. Quit changing binary data to an ASCII encoded string and leave it as a byte array.
Last edited by sknake; Jul 25th, 2009 at 8:01 pm.
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009
Jul 25th, 2009
0

Re: Reading/Writing Bytes

Click to Expand / Collapse  Quote originally posted by sknake ...
Maybe that is the problem, it is binary data after all. Perhaps you should just leave it. Quit changing binary data to an ASCII encoded string and leave it as a byte array.
I tried something like this.

Original
Split1
byteArray
Split2

But it never worked.
Reputation Points: -14
Solved Threads: 1
Junior Poster in Training
FTProtocol is offline Offline
99 posts
since May 2008
Jul 26th, 2009
0

Re: Reading/Writing Bytes

Upload your project
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: loading multiple pictureBox in panel
Next Thread in C# Forum Timeline: Descending Order





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC