a0SetBufferPosition()

Sets 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 modifies the current storage pointer of a given buffer. The next a0Pack() or functions will operate at a new buffer storage position.


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

a0GetBufferPosition() a0Pack() a0Unpack() a0NewBuffer() a0NewBufferStorage()