Method ReadInt32
ReadInt32()
Reads an object of type System.Int32 from the current stream and advances the stream position. This method reads directly from the underlying stream.
Declaration
public abstract int ReadInt32()
Returns
Type | Description |
---|---|
System.Int32 | object read from the stream |
ReadInt32(Int32)
Reads an object of type System.Int32 from the current stream and advances the stream position. This method reads directly from the underlying stream.
Declaration
public abstract int ReadInt32(int defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | defaultValue | Default value to be used for deserializing old version of the object |
Returns
Type | Description |
---|---|
System.Int32 | object read from the stream |