ghostty_snapshot_encode_buf function

GhosttyResult ghostty_snapshot_encode_buf(
  1. GhosttyTerminal terminal,
  2. Pointer<Uint8> buf,
  3. int buf_len,
  4. Pointer<Size> out_written,
)

Implementation

GhosttyResult ghostty_snapshot_encode_buf(
  GhosttyTerminal terminal,
  ffi.Pointer<ffi.Uint8> buf,
  int buf_len,
  ffi.Pointer<ffi.Size> out_written,
) => GhosttyResult.fromValue(
  _ghostty_snapshot_encode_buf(terminal, buf, buf_len, out_written),
);