示例#1
0
 internal static unsafe byte[] GetBytes(float value)
 {
     return(BitConverterLE.GetUIntBytes((byte *)&value));
 }
示例#2
0
 internal static unsafe byte[] GetBytes(double value)
 {
     return(BitConverterLE.GetULongBytes((byte *)&value));
 }
示例#3
0
 internal static unsafe byte[] GetBytes(ushort value)
 {
     return(BitConverterLE.GetUShortBytes((byte *)&value));
 }