mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
remove unused dependency BigMath
This commit is contained in:
parent
7fad829dd2
commit
d4b9c88866
|
|
@ -1,7 +1,5 @@
|
|||
using System.IO;
|
||||
using System.Text;
|
||||
using BigMath;
|
||||
using BigMath.Utils;
|
||||
|
||||
namespace TeleSharp.TL
|
||||
{
|
||||
|
|
@ -160,30 +158,4 @@ namespace TeleSharp.TL
|
|||
writer.Write(src);
|
||||
}
|
||||
}
|
||||
|
||||
public class Int128Util
|
||||
{
|
||||
public static Int128 Deserialize(BinaryReader reader)
|
||||
{
|
||||
return reader.ReadBytes(16).ToInt128(0, true);
|
||||
}
|
||||
|
||||
public static void Serialize(Int128 src, BinaryWriter writer)
|
||||
{
|
||||
writer.Write(src.ToBytes(true));
|
||||
}
|
||||
}
|
||||
|
||||
public class Int256Util
|
||||
{
|
||||
public static Int256 Deserialize(BinaryReader reader)
|
||||
{
|
||||
return reader.ReadBytes(32).ToInt256(0, true);
|
||||
}
|
||||
|
||||
public static void Serialize(Int256 src, BinaryWriter writer)
|
||||
{
|
||||
writer.Write(src.ToBytes(true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -30,10 +30,6 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="BigMath, Version=0.5.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\BigMath.0.5.0\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\BigMath.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
|
|
@ -782,9 +778,6 @@
|
|||
<Compile Include="TL\Users\TLRequestGetFullUser.cs" />
|
||||
<Compile Include="TL\Users\TLRequestGetUsers.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<packages>
|
||||
<package id="BigMath" version="0.5.0" targetFramework="net452" />
|
||||
</packages>
|
||||
Loading…
Reference in a new issue