Exemplo n.º 1
0
        public SectionReference ReadSectionReferenceUnchecked()
        {
            var reference = new SectionReference();

            reference.Section = InputReader.ReadUInt32();
            reference.Offset  = InputReader.ReadUInt32();
            return(reference);
        }
Exemplo n.º 2
0
        public SectionReference ReadSectionReferenceUnchecked(BinaryReader reader)
        {
            var reference = new SectionReference();

            reference.Section = reader.ReadUInt32();
            reference.Offset  = reader.ReadUInt32();
            return(reference);
        }
Exemplo n.º 3
0
 internal void Seek(SectionReference reference)
 {
     Debug.Assert(reference.IsValid);
     Seek(reference.Section, reference.Offset);
 }
Exemplo n.º 4
0
 public bool Equals(SectionReference reference)
 {
     return(reference != null && reference.Section == Section && reference.Offset == Offset);
 }
Exemplo n.º 5
0
 public void WriteSectionReference(SectionReference r)
 {
     Writer.Write((UInt32)r.Section);
     Writer.Write(r.Offset);
 }