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