mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
30 lines
677 B
C#
30 lines
677 B
C#
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);
|
|
}
|
|
}
|
|
} |