mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-09 00:14:54 +00:00
remove unused dependency BigMath
This commit is contained in:
parent
7fad829dd2
commit
d4b9c88866
3 changed files with 0 additions and 40 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue