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