Storages & Files Write
Write method

Writes the entire internal buffer to a stream. The methods writes buffSize bytes from the current position in the stream. No need to use this method if you use SFRecord's binding capabilities - it will be called internally as needed.

Syntax:

variable = object.Write(stream)

Parameters:

stream - A stream to write - SFStream or an object that supports IStream interface.

returned value: Boolean success indicator.

Remarks:

The returned value will be True only if the entire buffer is written successfully to the stream.

SFFilter can read/write data in chunks equal to its current buffer size (in bytes). Actual value access is done later by using the PutVar/GetVar or Put/Get methods over the internal buffer. This allows the library internally to optimize the access to the stream and the application to do so on its own if low level access is desired. 

Applies to: SFFilter object

Supported on:

Windows 95/NT and later
Windows CE 3.0 and later
Pocket PC/Windows Mobile 2003 and later
Windows CE.NET 4 and later

 

newObjects Copyright 2001-2006 newObjects [ ]