Re: BinaryReader munges data
- From: "Daniel O'Connell [C# MVP]" <onyxkirx@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 May 2005 23:59:24 -0500
"Kevin Trojanowski" <troj@xxxxxxxxxxxxxx> wrote in message
news:93yie.41606$gc6.33252@xxxxxxxxxxxxx
> I'm about to rip out what little hair I have left; I have a class that
> uses a BinaryReader, and the data is getting munged. A subset of the code
> follows; I've removed the parts that aren't relevant.
>
> What's really strange is that it reads the file just fine until the 272nd
> call to the Read method of the class, at which point it begins munging the
> data.
>
> Any thoughts would be greatly appreciated; I've tried reading by byte, as
> well as reading blocks, and it makes no difference.
How is it munging it? And could you show us a short but complete program[1]
that exhibits your problem? The code below just doesn't show whats going to
happen.
1. http://www.yoda.arachsys.com/csharp/complete.html
.
- Follow-Ups:
- Re: BinaryReader munges data
- From: Kevin Trojanowski
- Re: BinaryReader munges data
- References:
- BinaryReader munges data
- From: Kevin Trojanowski
- BinaryReader munges data
- Prev by Date: Re: Pointers/References
- Next by Date: C# very optimisation
- Previous by thread: BinaryReader munges data
- Next by thread: Re: BinaryReader munges data
- Index(es):