Method ReadBytes
ReadBytes(Int32)
Reads an object of type
Declaration
public abstract byte[] ReadBytes(int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | count | number of bytes read |
Returns
Type | Description |
---|---|
System.Byte[] | object read from the stream |
ReadBytes(Int32, Byte[])
Reads an object of type
Declaration
public abstract byte[] ReadBytes(int count, byte[] defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | count | number of bytes read |
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 |