ghostty_snapshot_decoder_new_buf function

GhosttyResult ghostty_snapshot_decoder_new_buf(
  1. Pointer<GhosttyAllocator> allocator,
  2. Pointer<GhosttySnapshotDecoder> decoder,
  3. Pointer<Uint8> ptr,
  4. int len,
)

Implementation

GhosttyResult ghostty_snapshot_decoder_new_buf(
  ffi.Pointer<GhosttyAllocator> allocator,
  ffi.Pointer<GhosttySnapshotDecoder> decoder,
  ffi.Pointer<ffi.Uint8> ptr,
  int len,
) => GhosttyResult.fromValue(
  _ghostty_snapshot_decoder_new_buf(allocator, decoder, ptr, len),
);