Binary file functions

The DK functions can be used to read and write binary files.

DKClose()
DKClose() is used to terminate access to a binary file opened with DKOpen().
DKOpen()
DKOpen() is used to establish access to a binary file.
DKRead()
DKRead() is used to read an arbitrary segment of a binary file into a buffer.
DKSize()
DKSize() is used to determine the size of a disk file in bytes.
DKTruncate()
DKTruncate() is used to truncate a file to a specified size.
DKWrite()
DKWrite() is used to write a block of binary data to a binary file.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.