istream_cur_rd_pointer()

istream_cur_rd_pointer()#

Retrieves the current read pointer of the internal gbuffer associated with the istream. This pointer indicates the position from where the next read operation will start.

Prototype

PUBLIC char *istream_cur_rd_pointer(
    istream_h   istream
);

Parameters

Key

Type

Description

istream

istream_h

The handle to the istream whose read pointer is to be retrieved.


Return Value

Returns a pointer to the current read position in the internal gbuffer.

Notes

  • If the istream is NULL, the function logs an error and returns NULL.

  • This function does not alter the read pointer or the state of the istream.

  • Use this pointer for low-level operations directly on the data in the gbuffer.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples