Convert byte array To UInt 64 - CSharp System

CSharp examples for System:Byte Array

Description

Convert byte array To UInt 64

Demo Code


using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;/*from   w  ww.ja  va  2  s .co m*/

public class Main{
        public static ulong ToUInt64(byte[] bytes)
        {
            return BitConverter.ToUInt64(bytes, 0);
        }
}

Related Tutorials