GArrowReadable

GArrowReadable — Input interface

Functions

gboolean garrow_readable_read ()

Types and Values

Object Hierarchy

    GInterface
    ╰── GArrowReadable

Description

GArrowReadable is an interface for input. Input must be readable.

Functions

garrow_readable_read ()

gboolean
garrow_readable_read (GArrowReadable *readable,
                      gint64 n_bytes,
                      gint64 *n_read_bytes,
                      guint8 *buffer,
                      GError **error);

Parameters

readable

A GArrowReadable.

 

n_bytes

The number of bytes to be read.

 

n_read_bytes

The read number of bytes.

[out]

buffer

The buffer to be read data.

[array length=n_bytes]

error

Return location for a GError or NULL.

[nullable]

Returns

TRUE on success, FALSE if there was an error.

Types and Values

GArrowReadableInterface

typedef struct _GArrowReadableInterface GArrowReadableInterface;