예제 #1
0
파일: NUtils.cs 프로젝트: MrxLoicx/Projects
        internal static unsafe double ToDouble(byte[] value, int startIndex)
        {
            double num;

            BitConverterLE.ULongFromBytes((byte *)&num, value, startIndex);
            return(num);
        }
예제 #2
0
파일: NUtils.cs 프로젝트: MrxLoicx/Projects
        internal static unsafe ulong ToUInt64(byte[] value, int startIndex)
        {
            ulong num;

            BitConverterLE.ULongFromBytes((byte *)&num, value, startIndex);
            return(num);
        }