Exemplo n.º 1
0
        internal static void SlotEntryToZeroes(LocalObjectContainer file, int address)
        {
            var writer = new StatefulBuffer(file.SystemTransaction(), address, SlotLength
                                                ());

            for (var i = 0; i < IntsInSlot; i++)
            {
                writer.WriteInt(0);
            }
            writer.WriteEncrypt();
        }
Exemplo n.º 2
0
 internal static void SlotEntryToZeroes(LocalObjectContainer file, int address)
 {
     var writer = new StatefulBuffer(file.SystemTransaction(), address, SlotLength
         ());
     for (var i = 0; i < IntsInSlot; i++)
     {
         writer.WriteInt(0);
     }
     writer.WriteEncrypt();
 }