ReadUInt16() public method

public ReadUInt16 ( ) : ushort
return ushort
Beispiel #1
0
        void PatchResourceDirectoryTable(ByteBuffer resources)
        {
            resources.Advance(12);

            var entries = resources.ReadUInt16() + resources.ReadUInt16();

            for (int i = 0; i < entries; i++)
            {
                PatchResourceDirectoryEntry(resources);
            }
        }
Beispiel #2
0
        void PatchResourceDirectoryTable(ByteBuffer resources)
        {
            resources.Advance (12);

            var entries = resources.ReadUInt16 () + resources.ReadUInt16 ();

            for (int i = 0; i < entries; i++)
                PatchResourceDirectoryEntry (resources);
        }
Beispiel #3
0
 static void PatchResourceDirectoryTable(ByteBuffer resources, Section old, Section @new)
 {
     resources.Advance(12);
     int num = resources.ReadUInt16() + resources.ReadUInt16();
     for (int i = 0; i < num; i++)
     {
         PatchResourceDirectoryEntry(resources, old, @new);
     }
 }
Beispiel #4
0
        void PatchResourceDirectoryTable(ByteBuffer resources)
        {
            if (!resources.SizeAvailable (16))
                return;
            resources.Advance (12);

            var entries = resources.ReadUInt16 () + resources.ReadUInt16 ();

            for (int i = 0; i < entries; i++)
                PatchResourceDirectoryEntry (resources);
        }