Assign a 32-bit unsigned int (unsigned long) from stream.
Declared in <bslx_instreamfunctions.h>
template<class STREAM>
STREAM&
bdexStreamIn(
STREAM& stream,
unsigned long& variable,
int version = 0);
Assign to the specified variable the 32-bit unsigned int value read from the specified input stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. If stream becomes invalid during this operation, variable has an undefined, but valid, state. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.
a reference to stream
| Name | Description |
|---|---|
| stream | input stream from which to read |
| variable | object to receive the unexternalized value |
| version | optional BDEX version (ignored for this type) |