|
Description
DKWrite() is used to write a block of binary data to a binary file.
Call Signature
void DKWrite ( int/string filespec, byte ptr buffer, int start_byte, int num_byte )
Return Value
void
This has no return value.
Arguments
int/string filespec:
This can either be the handle returned by DBOpen(), or the name of an open file.
byte ptr buffer:
An array of memory into which the data should be written.
int start_byte:
The offset in bytes to the first byte to be written over. This would be zero to write from the beginning of the file.
int num_byte:
The number of bytes to write into the file. The buffer must be large enough to hold this many bytes.
Remarks
DKWrite() only operates on files opened in write or update mode with DKOpen().
See also
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.