public static double ReadDouble(this NetworkReader reader) { var converter = new UIntDouble { longValue = reader.ReadUInt64() }; return(converter.doubleValue); }
/// <summary> /// Write double /// </summary> public unsafe void Write(double value) { UIntDouble converter = new UIntDouble { doubleValue = value }; Write(converter.longValue); }