Re: Comparing byte arrays
From: Jon Skeet [C# MVP] (skeet_at_pobox.com)
Date: 04/05/04
- Next message: Charles Law: "Re: Bug Found? Tooltip memory leak"
- Previous message: Jon Skeet [C# MVP]: "Re: Scope Static Members"
- In reply to: Cor: "Re: Comparing byte arrays"
- Next in thread: Cor: "Re: Comparing byte arrays"
- Reply: Cor: "Re: Comparing byte arrays"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 5 Apr 2004 11:35:33 +0100
Cor <non@non.com> wrote:
> > The only tricky bit would be taking
> > into account that a Read from a stream might not return as much data as
> > you want it to.
>
> That one I was thinking later on, but a 00 byte in a string stays there so
> the string will have that length but only is not showable.
I'm not sure how that's relevant, to be honest...
> (Although I have
> thought to check if what I say above is true, however I think we said enough
> about this). I never did bring it as an ideal methode, only if you real want
> to do it without a for loop, this was also a possibility.
If you don't mind it being fundamentally broken :)
-- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet If replying to the group, please do not mail me too
- Next message: Charles Law: "Re: Bug Found? Tooltip memory leak"
- Previous message: Jon Skeet [C# MVP]: "Re: Scope Static Members"
- In reply to: Cor: "Re: Comparing byte arrays"
- Next in thread: Cor: "Re: Comparing byte arrays"
- Reply: Cor: "Re: Comparing byte arrays"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|