ghostty_paste_encode function

GhosttyResult ghostty_paste_encode(
  1. Pointer<Char> data,
  2. int data_len,
  3. bool bracketed,
  4. Pointer<Char> buf,
  5. int buf_len,
  6. Pointer<Size> out_written,
)

Implementation

GhosttyResult ghostty_paste_encode(
  ffi.Pointer<ffi.Char> data,
  int data_len,
  bool bracketed,
  ffi.Pointer<ffi.Char> buf,
  int buf_len,
  ffi.Pointer<ffi.Size> out_written,
) => GhosttyResult.fromValue(
  _ghostty_paste_encode(data, data_len, bracketed, buf, buf_len, out_written),
);