
Is there a Binary data type ?
Pizzi,
<<
I would like to know if there is a binary data type for storing byte arrays
instead of using a byte array.
I would like following methods and properties:
ToString Convert the internal byte array in a HEX string
SaveToFile Save binary data to file
LoadFromFile Load binary data from a file
Length How many bytes it contains
Data Return the internal byte array
SetByte Set the byte at a defined position
GetByte
...
Is there such an object in .NET or something similar ?
Do I need to create my own ?
You'll have to create your own. Your class shouldn't exceed 50-100 lines of
code to get the functionality you list.
Malcolm Stewart
Microsoft Beta Technical Support