GArrowIOWriteableFile

GArrowIOWriteableFile — File output interface

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── GArrowIOWriteableFile

Prerequisites

GArrowIOWriteableFile requires GObject.

Known Implementations

GArrowIOWriteableFile is implemented by GArrowIOMemoryMappedFile.

Description

GArrowIOWriteableFile is an interface for file output.

Functions

garrow_io_writeable_file_write_at ()

gboolean
garrow_io_writeable_file_write_at (GArrowIOWriteableFile *writeable_file,
                                   gint64 position,
                                   const guint8 *data,
                                   gint64 n_bytes,
                                   GError **error);

Parameters

writeable_file

A GArrowIOWriteableFile.

 

position

The write start position.

 

data

The data to be written.

[array length=n_bytes]

n_bytes

The number of bytes to be written.

 

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

GArrowIOWriteableFile

typedef struct _GArrowIOWriteableFile GArrowIOWriteableFile;

GArrowIOWriteableFileInterface

typedef struct _GArrowIOWriteableFileInterface GArrowIOWriteableFileInterface;