formatTextAllocated method

String formatTextAllocated({
  1. Encoding encoding = utf8,
})

Formats via formatBytesAllocated and decodes the result.

Implementation

String formatTextAllocated({Encoding encoding = utf8}) {
  return formatTextAllocatedWith(VtAllocator.dartMalloc, encoding: encoding);
}