Blob.lseek

Sets the blob read/write position.

class Blob
int
lseek
(
int offset
,
int whence
)

Parameters

offset int

offset added to the position specified by whence.

whence int

SEEK_SET, SEEK_CUR or SEEK_END with the same meaning as in fseek(3).

Return Value

Type: int

the current position in the blob or < 0 in case of error. In case of error the provider should have added an error to the connection.

Meta