decodeVecInt method

List<int> decodeVecInt(
  1. Plaintext plaintext,
  2. int arrayLength
)

Decodes a Plaintext into a list of integers.

Implementation

List<int> decodeVecInt(Plaintext plaintext, int arrayLength) {
  Pointer<Uint64> ptr = _c_decode_vector_int(library, plaintext.obj);
  raiseForStatus();
  return uint64ArrayToIntList(ptr, arrayLength);
}