Initial commit
This commit is contained in:
commit
0f86b0434b
38 changed files with 2370 additions and 0 deletions
25
LibDgf/Dat/DatEntry.cs
Normal file
25
LibDgf/Dat/DatEntry.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace LibDgf.Dat
|
||||
{
|
||||
public class DatEntry
|
||||
{
|
||||
public uint Offset { get; set; }
|
||||
public uint Length { get; set; }
|
||||
|
||||
public void Read(BinaryReader br)
|
||||
{
|
||||
Offset = br.ReadUInt32();
|
||||
Length = br.ReadUInt32();
|
||||
}
|
||||
|
||||
public void Write(BinaryWriter bw)
|
||||
{
|
||||
bw.Write(Offset);
|
||||
bw.Write(Length);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue