formatBytesAllocated method
Formats the terminal using ghostty_formatter_format_alloc.
This path uses a Dart-owned allocator so the returned buffer can be safely released from Dart after copying it into a Uint8List.
Implementation
Uint8List formatBytesAllocated() {
return formatBytesAllocatedWith(VtAllocator.dartMalloc);
}