Пример #1
0
 internal ThawBuffer(Compartment setting, ObjectRegistry reg, SerUnit unit, byte[] data)
 {
     this.data    = data;
     this.setting = setting;
     this.reg     = reg;
     this.unit    = unit;
 }
Пример #2
0
 internal FreezeBuffer(ObjectRegistry reg, SerUnit unit)
 {
     if (reg == null || unit == null)
     {
         throw new ArgumentNullException();
     }
     this.reg       = reg;
     this.unit      = unit;
     unit_to_offset = new Dictionary <SerUnit, int>();
     data           = new byte[256];
 }
Пример #3
0
 internal ThawBuffer(ObjectRegistry reg, SerUnit unit, byte[] data)
 {
     this.data = data;
     this.reg  = reg;
     this.unit = unit;
 }