toStr method

String toStr(
  1. IStatus status,
  2. Pointer<FbDec34> from
)

Implementation

String toStr(IStatus status, Pointer<FbDec34> from) {
  const slen = 80;
  String s = " " * slen;
  final sUtf = s.toNativeUtf8(allocator: mem);
  try {
    _toString(self, status.self, from, slen, sUtf);
    status.checkStatus();
    return sUtf.toDartString();
  } finally {
    mem.free(sUtf);
  }
}