public static long ToInt64(byte[] bytes) { var zigzag = ToTarget(bytes, 64); return DecodeZigZag(zigzag); }