encodeVecInt method
Encodes a list of integers into a Plaintext.
Implementation
Plaintext encodeVecInt(List<int> vec) {
Pointer ptr =
_c_encode_vector_int(library, intListToUint64Array(vec), vec.length);
raiseForStatus();
return Plaintext.fromPointer(backend, ptr);
}