 | CBFReadReal Method |
Reads real data from current position in BF
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void ReadReal(
int type,
ref double data
)
public void ReadReal(
int type,
ref double data
)
Public Sub ReadReal (
type As Integer,
ByRef data As Double
)
Public Sub ReadReal (
type As Integer,
ByRef data As Double
)
public:
void ReadReal(
int type,
double% data
)
public:
void ReadReal(
int type,
double% data
)
member ReadReal :
type : int *
data : float byref -> unit
member ReadReal :
type : int *
data : float byref -> unit
Parameters
- type
- Type: SystemInt32
<define>GS_TYPES</define> and <define>BF_BYTEORDER</define> - data
- Type: SystemDouble
Data
Remarks
If the data source may be in byte order different from that
required by the reader, you can add the source byte-order
to the BF elelment type. The byte order will be swapped
if required. For example, to write out a real number 3.5
with Most-Significant_Byte first (Mortorola) convention:
WriteReal_BF(hBF,<define>BF_BYTEORDER_MSB</define>+<define>GS_REAL</define>,3.5).
If a byte order is not specified, the source is assumed to be
in the native byte order of the reading/writing computer.
See Also