|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Convert char array To byte arrayHi...
I need to know how to convert Char Array to Byte Array and vice-versa in VB 2K5 Thanks for all help. Elioth >I need to know how to convert Char Array to Byte Array and vice-versa in VB If you want to do a straight memory copy where one Char takes two>2K5 Bytes, use System.Buffer.BlockCopy(). Otherwise use the appropriate Encoding class from the System.Text namespace and call the GetChars and GetBytes methods. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
Reading one record from an Access DB
dataser design considerations ?Delegates and Interaces - similarities/differences? Mdi Form Validating VB.NET ComboBox _SelectedIndexChanged checking MP3 license Treeview problem How to find files in a directory ComboBox in DataGrid How to compare two identical tables in VB.NET + MS Access |
|||||||||||||||||||||||