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); }
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); }