Convert byte array To Int 64 - CSharp System

CSharp examples for System:Byte Array

Description

Convert byte array To Int 64

Demo Code


using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;//from ww w . ja  v  a2s. c om

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

Related Tutorials