日期:2014-05-18  浏览次数:20898 次

c#中如何将float[]转换为Byte[]
c#中如何将float[]转换为Byte[],如何将float数组转为Byte数组?

------解决方案--------------------
float[] source = ...
byte[] result = source.SelectMany(x => BitConverter.GetBytes(x)).ToArray();