Use free open source FourinFx for flex and .net it easy to use and faster Jaydeep Tank
On 29 Jun 2011 10:31, "HISSAM" <[email protected]> wrote: You must have google bout conversion of byteArray to Object in dot.net See, first understand, why we used byte array? Simple is to save time over the n/w, So its our job to get the object in the required at .net and flex end. Thats BlazeDS and WEBORB came into existence which provide the data at the front end and backend in the requried format. Anyways, at .net end, use the following code and debug the Obj [ via <http://snippets.dzone.com/posts/show/3897> ] // Convert an object to a byte arrayprivate byte[] ObjectToByteArray(Object obj){ if(obj == null) return null; BinaryFormatter bf = new BinaryFormatter(); MemoryStream ms = new MemoryStream(); bf.Serialize(ms, obj); return ms.ToArray();}// Convert a byte array to an Objectprivate Object ByteArrayToObject(byte[] arrBytes){ MemoryStream memStream = new MemoryStream(); BinaryFormatter binForm = new BinaryFormatter(); memStream.Write(arrBytes, 0, arrBytes.Length); memStream.Seek(0, SeekOrigin.Begin); Object obj = (Object) binForm.Deserialize(memStream); return obj;} Hope this helps On 27 June 2011 10:27, nvxuser <[email protected]> wrote: > > I wrote my array collection to byte... -- Hissam, Flex Developer, INDIA. (m) +919860694301 If I CRY angels deserves to DIE. -- You receive... -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

