unpackSignature method

String unpackSignature(
  1. String compressedSignature
)

Implementation

String unpackSignature(String compressedSignature) {
  //if (lib == null) return "ERROR: The library is not initialized";

  final sigPtr = compressedSignature.toNativeUtf8();
  final resultPtr = _unpackSignature(sigPtr);
  final result = resultPtr.toDartString();
  //print("- Response string:  $result");
  // Free the string pointer, as we already have
  // an owned String to return
  //print("- Freeing the native char*");
  cstringFree(resultPtr);
  return result;
}