public static void GetBytes(byte[] bytes, int startIndex, double value) { ConverterHelperDouble ch = new ConverterHelperDouble { Adouble = value }; WriteLittleEndian(bytes, startIndex, ch.Along); }
public static void Write(byte[] bytes, int startIndex, double value) { ConverterHelperDouble ch = new ConverterHelperDouble { Adouble = value }; Write(bytes, startIndex, ch.Along); }
public static double ToDouble(byte[] buffer, int index) { ulong i = ReadLittleEndian(buffer, index, sizeof(double)); ConverterHelperDouble ch = new ConverterHelperDouble { Along = i }; return(ch.Adouble); }
public static double ToDouble(byte[] bytes, int startIndex) { var value = ReadUInt64LittleEndian(bytes, startIndex); ConverterHelperDouble ch = new ConverterHelperDouble { Along = value }; return(ch.Adouble); }
public static void GetBytes(byte[] bytes, int startIndex, double value) { ConverterHelperDouble converterHelperDouble = default(ConverterHelperDouble); converterHelperDouble.Adouble = value; ConverterHelperDouble ch = converterHelperDouble; WriteLittleEndian(bytes, startIndex, ch.Along); }
public void Put(double value) { ConverterHelperDouble ch = new ConverterHelperDouble { i = value }; Put(ch.o); }
public static void GetBytes(byte[] bytes, int startIndex, double value) { ConverterHelperDouble ch = new ConverterHelperDouble { Adouble = value }; WriteLittleEndian(bytes, startIndex, ch.Along); }