ghostty_key_encoder_encode function

GhosttyResult ghostty_key_encoder_encode(
  1. GhosttyKeyEncoder encoder,
  2. GhosttyKeyEvent event,
  3. Pointer<Char> out_buf,
  4. int out_buf_size,
  5. Pointer<Size> out_len,
)

Implementation

GhosttyResult ghostty_key_encoder_encode(
  GhosttyKeyEncoder encoder,
  GhosttyKeyEvent event,
  ffi.Pointer<ffi.Char> out_buf,
  int out_buf_size,
  ffi.Pointer<ffi.Size> out_len,
) => GhosttyResult.fromValue(
  _ghostty_key_encoder_encode(encoder, event, out_buf, out_buf_size, out_len),
);