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