Very early SevenZip WIP version
This commit is contained in:
24
ROMVault2/SupportedFiles/SevenZip/Structure/BindPair.cs
Normal file
24
ROMVault2/SupportedFiles/SevenZip/Structure/BindPair.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.IO;
|
||||
|
||||
namespace ROMVault2.SupportedFiles.SevenZip.Structure
|
||||
{
|
||||
public class BindPair
|
||||
{
|
||||
public ulong InIndex;
|
||||
public ulong OutIndex;
|
||||
|
||||
public void Read(BinaryReader br)
|
||||
{
|
||||
InIndex = br.ReadEncodedUInt64();
|
||||
Util.log("InIndex = " + InIndex);
|
||||
OutIndex = br.ReadEncodedUInt64();
|
||||
Util.log("OutIndex = " + OutIndex);
|
||||
}
|
||||
|
||||
public void Write(BinaryWriter bw)
|
||||
{
|
||||
bw.WriteEncodedUInt64(InIndex);
|
||||
bw.WriteEncodedUInt64(OutIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user