Method ReadSByte
ReadSByte()
Reads an object of type System.SByte from the current stream and advances the stream position. This method reads directly from the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual sbyte ReadSByte()
Returns
| Type | Description |
|---|---|
| System.SByte | object read from the stream |
ReadSByte(SByte)
Reads an object of type System.SByte from the current stream and advances the stream position. This method reads directly from the underlying stream.
Declaration
[CLSCompliant(false)]
public virtual sbyte ReadSByte(sbyte defaultValue)
Parameters
| Type | Name | Description |
|---|---|---|
| System.SByte | defaultValue | Default value to be used for deserializing old version of the object |
Returns
| Type | Description |
|---|---|
| System.SByte | object read from the stream |