ghostty_mode_report_encode function

GhosttyResult ghostty_mode_report_encode(
  1. DartGhosttyMode mode,
  2. GhosttyModeReportState state,
  3. Pointer<Char> buf,
  4. int buf_len,
  5. Pointer<Size> out_written,
)

Implementation

GhosttyResult ghostty_mode_report_encode(
  DartGhosttyMode mode,
  GhosttyModeReportState state,
  ffi.Pointer<ffi.Char> buf,
  int buf_len,
  ffi.Pointer<ffi.Size> out_written,
) => GhosttyResult.fromValue(
  _ghostty_mode_report_encode(mode, state.value, buf, buf_len, out_written),
);