decodeDouble method

double decodeDouble(
  1. Plaintext plaintext
)

Decodes a Plaintext into a double.

Implementation

double decodeDouble(Plaintext plaintext) {
  Pointer<Double> ptr = _c_decode_vector_double(library, plaintext.obj);
  raiseForStatus();
  return ptr[0];
}