Photon Quantum 3.0.0

Static Public Member Functions | List of all members
Quantum.ChecksumFileHelper Class Reference

Helper methods to convert between ulong and long. More...

Static Public Member Functions

static unsafe ulong LongToULong (long value)
 Reverse the conversion ulong to long. More...
 
static unsafe long UlongToLong (ulong value)
 Convert a ulong to a long. More...
 

Detailed Description

Helper methods to convert between ulong and long.

Member Function Documentation

◆ UlongToLong()

static unsafe long Quantum.ChecksumFileHelper.UlongToLong ( ulong  value)
inlinestatic

Convert a ulong to a long.

Parameters
valueValue to convert
Returns
Converted to long

◆ LongToULong()

static unsafe ulong Quantum.ChecksumFileHelper.LongToULong ( long  value)
inlinestatic

Reverse the conversion ulong to long.

Parameters
valueValue to convert back
Returns
The ulong value representaiton of a long