ByteBuilder

  • Thread starter Thread starter David
  • Start date Start date
D

David

Somebody know any .net framework or other class for handle Bytes, something
like StringBuilder but for Bytes. So, I need to Add, Remove and Find Bytes
in the ByteBuilder class

I am doing my own ByteBuilder, but maybe you know to somebody who already
did

Thanks a lot.
 
David said:
Somebody know any .net framework or other class for handle Bytes, something
like StringBuilder but for Bytes. So, I need to Add, Remove and Find Bytes
in the ByteBuilder class

I am doing my own ByteBuilder, but maybe you know to somebody who already
did

Well, in v2 you'll be able to use List<byte> in a similar way. If
you're just appending though, MemoryStream is probably your best bet.
 
Sounds like you want to use a collection of bytes. In which case, you
could create a class that inherits from the CollectionBase class. If you
wish to use a collection, then use the .NetV2.0 collection, which
supports generics and iterators that will make your task easier.

Or, at a simpler level if you just wish to do some encoding you could
use System.Text.Encoding.(EncodingPattern) and the respective GetBytes
method.

with regards,


J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com
 
Back
Top