 | CBFReadInt Method |
Reads int 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 ReadInt(
int type,
ref int data
)
public void ReadInt(
int type,
ref int data
)
Public Sub ReadInt (
type As Integer,
ByRef data As Integer
)
Public Sub ReadInt (
type As Integer,
ByRef data As Integer
)
public:
void ReadInt(
int type,
int% data
)
public:
void ReadInt(
int type,
int% data
)
member ReadInt :
type : int *
data : int byref -> unit
member ReadInt :
type : int *
data : int byref -> unit
Parameters
- type
- Type: SystemInt32
<define>GS_TYPES</define> and <define>BF_BYTEORDER</define> - data
- Type: SystemInt32
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