| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

A class to de-serialize data. Specifically,
this class de-serializes data that was serialized by
an instance of the class Serializer.
It is also compatible with the serialization or
de-serialization performed by the Callable Library (C API)
routines CPXXserializercreate or
CPXXdeserializercreate.
See also CPXXserializercreate documented in the
Reference Manual of the Callable Library (C API).
See also CPXXdeserializercreate documented in the
Reference Manual of the Callable Library (C API).
See Also:
| Method Summary | |
|---|---|
public | Deserializer(void const * data, CPXLONG len) |
public void | get(double * d, CPXLONG cnt) |
public void | get(float * f, CPXLONG cnt) |
public void | get(CPXLONG * l, CPXLONG cnt) |
public void | get(CPXINT * i, CPXLONG cnt) |
public void | get(CPXSHORT * s, CPXLONG cnt) |
public void | get(CPXBYTE * b, CPXLONG cnt) |
public | ~Deserializer() |
| Method Detail |
|---|
Creates a new de-serializer.
The de-serializer de-serializes data from the memory block
starting at data and extending for len
bytes. The class will not make a copy of that memory
block. It assumes that the memory block is valid throughout the
lifetime of this instance.
| data |
Start of the memory block to deserialize.
|
| len |
Number of bytes stored at data.
|
Destructor
De-serializes cnt IEEE single-precision floating-point
numbers and stores them in d.
De-serializes cnt IEEE single-precision floating-point
numbers and stores them in f.
De-serializes cnt 64-bit, signed integers and
stores them in l.
De-serializes cnt 32-bit, signed integers and
stores them in i.
De-serializes cnt 16-bit, signed integers and
stores them in s.
De-serializes cnt 8-bit, signed integers and
stores them in b.