Click or drag to resize
CBF Class
The BF class is used to access (or create) Binary files and remove (or destroy) files from use. You can also perform a variety of additional tasks, such as positioning within files, reading from files and writing to files.
Inheritance Hierarchy

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public class CBF : CHANDLE

The CBF type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyoneChSize
Changes the size of a file
Public methodAvailable to anyoneCopy
Copy entire contents of a source BF to a destination BF
Public methodAvailable to anyoneCRC
Compute CRC of a file.
Public methodAvailable to anyoneStatic memberCreate
Create BF object.
Public methodAvailable to anyoneStatic memberCreateSBF
Create BF object inside an SBF.
Protected methodDispose
Releases the unmanaged resources used by the CBF and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodAvailable to anyoneiEOF
Returns 1 if at the end of the file
Public methodAvailable to anyoneiQueryWrite
Check if you can write to the BF.
Public methodAvailable to anyoneIReadBinaryString
Reads string data from current position in BF
Public methodAvailable to anyoneiSize
Returns the file length
Public methodAvailable to anyoneiTell
Returns current position of file pointer in bytes
Public methodAvailable to anyoneReadBuff
Read data from a BF stream into memory
Public methodAvailable to anyoneReadInt
Reads int data from current position in BF
Public methodAvailable to anyoneReadReal
Reads real data from current position in BF
Public methodAvailable to anyoneReadVM
Read data to a VM from current position in BF
Public methodAvailable to anyoneReadVV
Read data to a VV from current position in BF
Public methodAvailable to anyoneSeek
Moves file position
Public methodAvailable to anyoneSetDestroyStatus
Set the flag to delete the file on close
Public methodAvailable to anyoneWriteBinaryString
Write a binary string to a BF
Public methodAvailable to anyoneWriteBuff
Write data from memory into a BF stream
Public methodAvailable to anyoneWriteDataNull
Writes a null byte (0) to BF
Public methodAvailable to anyoneWriteInt
Writes int to the BF
Public methodAvailable to anyoneWriteReal
Writes real to the BF
Public methodAvailable to anyoneWriteVM
Writes VM to the BF
Public methodAvailable to anyoneWriteVV
Writes VV to the BF
Top
See Also