Posted a quick and dirty example here: <http://dotnetdevelopment.pastebin.com/f4e18ab21>
On Nov 25, 1:09 pm, Processor Devil <[email protected]> wrote: > what about the old way? > > public static decimal[] Bytes2Decimal(byte[] bytes) > { > decimal[] toReturn = new decimal[bytes.Length]; > for(int i = 0; i < bytes.Length; i++) > toReturn[i] = Convert.ToDecimal(bytes[i]); > return toReturn; > } > > 2009/11/25 Cerebrus <[email protected]> > > > > > What's wrong with BinaryFormatter.Deserialize() ? >
