Hi Smugsboy,
> Is there a way to get byte[] representation of primitive types ?
> Meaning:
[quoted text clipped - 3 lines]
> and for "byte val = 6"
> to get the following "byte[1] { 6 }"
See: BitConverter
http://msdn.microsoft.com/library/en-
us/cpref/html/frlrfsystembitconvertermemberstopic.asp
Especially: BitConverter.GetBytes:
http://msdn.microsoft.com/library/en-
us/cpref/html/frlrfsystembitconverterclassgetbytestopic.asp

Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Smugsboy - 29 Dec 2004 11:56 GMT
Did the trick for me. Thanks.
> Hi Smugsboy,
>
[quoted text clipped - 19 lines]
> My blog about Win32 and .NET
> http://blog.kalmbachnet.de/