* garrow_writable_file_write_at: * @writable_file: A #GArrowWritableFile. * @position: The write start position. * @data: (array length=n_bytes): The data to be written. * @n_bytes: The number of bytes to be written. * @error: (nullable): Return location for a #GError or %NULL. * * Returns: %TRUE on success, %FALSE if there was an error. */
| 50 | * Returns: %TRUE on success, %FALSE if there was an error. |
| 51 | */ |
| 52 | gboolean |
| 53 | garrow_writable_file_write_at(GArrowWritableFile *writable_file, |
| 54 | gint64 position, |
| 55 | const guint8 *data, |
| 56 | gint64 n_bytes, |
| 57 | GError **error) |
| 58 | { |
| 59 | const auto arrow_writable_file = garrow_writable_file_get_raw(writable_file); |
| 60 | |
| 61 | auto status = arrow_writable_file->WriteAt(position, data, n_bytes); |
| 62 | return garrow_error_check(error, status, "[io][writable-file][write-at]"); |
| 63 | } |
| 64 | |
| 65 | G_END_DECLS |
| 66 |
nothing calls this directly
no test coverage detected