a0GetBufferPosition()

Gets current buffer's storage pointer.


Syntax

a0tError a0GetBufferPosition(
a0tBuffer *buffer,
long *position );

Arguments

Namerd/wrDescription
buffer read Buffer to get the storage pointer from.
position write Storage pointer of the buffer.

Description

This function extracts the current storage pointer of a given buffer.

On return of this function, the variable pointed by position contains the current storage pointer.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

a0SetBufferPosition() a0Pack() a0Unpack() a0NewBuffer() a0NewBufferStorage()