public static double ToValue(byte[] table, int index) { UnionDouble bt = new UnionDouble(); bt.SetBytes(table, index); return(bt.value); }
public static byte[] ToBytes(double val) { UnionDouble bt = new UnionDouble(); bt.value = val; return(bt.bytes); }
public static byte[] ToBytes(double val) { return(UnionDouble.ToBytes(val)); }
public static int ToValue(out double ret, byte[] bytes, int index) { ret = UnionDouble.ToValue(bytes, index); return(UnionDouble.Size); }