SirCmpwn

Untitled

Jun 12th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.12 KB | None | 0 0
  1. // How to turn byte[sizeof(long)] into long
  2. // Let arr be a byte[sizeof(long)]
  3. long result = BitConverter.ToInt64(arr, 0);
Advertisement
Add Comment
Please, Sign In to add comment