FileSkipBytes

Description

Skips over the data before a read or write operation of an on-disk or in-memory file on the server.

Function syntax

FileSkipBytes(fileObj, noOfBytesToSkip)

History

ColdFusion 9: Added this function.

Parameters

Parameter

Description

fileObj

The file object.

noOfBytesToSkip

The number of bytes that must be skipped before the next file operation.

Usage

For noOfBytesToSkip, if you specify a value greater than the actual number of bytes, all bytes are skipped.

Example

See the Example section for the function FileSeek.