mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Blind update of zip code to newest RVWorld version
This commit is contained in:
30
SabreTools.Library/External/Compress/SevenZip/Structure/BindPair.cs
vendored
Normal file
30
SabreTools.Library/External/Compress/SevenZip/Structure/BindPair.cs
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace Compress.SevenZip.Structure
|
||||
{
|
||||
public class BindPair
|
||||
{
|
||||
public ulong InIndex;
|
||||
public ulong OutIndex;
|
||||
|
||||
public void Read(BinaryReader br)
|
||||
{
|
||||
InIndex = br.ReadEncodedUInt64();
|
||||
OutIndex = br.ReadEncodedUInt64();
|
||||
}
|
||||
|
||||
public void Write(BinaryWriter bw)
|
||||
{
|
||||
bw.WriteEncodedUInt64(InIndex);
|
||||
bw.WriteEncodedUInt64(OutIndex);
|
||||
}
|
||||
|
||||
|
||||
public void Report(ref StringBuilder sb)
|
||||
{
|
||||
sb.AppendLine(" InIndex = " + InIndex);
|
||||
sb.AppendLine(" OutIndex = " + OutIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user