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