Esempio n. 1
0
        public static Int64 GetInt64WithEndianBit(this byte[] src, int index = 0, EndianBitType srcType = EndianBitType.LittleEndian)
        {
            UInt64 result = GetUInt64WithEndianBit(src, index, srcType);

            return(BytesN8Union.Create(result).sint64vluae);
        }
Esempio n. 2
0
        public static void ToBytesWithEndianBit(this Int64 inValue, byte[] des, int index = 0, EndianBitType desType = EndianBitType.LittleEndian)
        {
            UInt64 _convert = BytesN8Union.Create(inValue).GetValue();

            ToBytesWithEndianBit(_convert, des, index, desType);
        }