public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._recordType = dis.ReadUnsignedInt(); this._recordLength = dis.ReadUnsignedByte(); this._recordSpecificFields = dis.ReadUnsignedLong(); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }
public virtual void Unmarshal(DataInputStream dis) { if (dis != null) { try { this._recordType = dis.ReadUnsignedByte(); this._detachedIndicator = dis.ReadUnsignedByte(); this._partAttachedTo = dis.ReadUnsignedShort(); this._parameterType = dis.ReadUnsignedInt(); this._parameterValue = dis.ReadUnsignedLong(); } catch (Exception e) { #if DEBUG Trace.WriteLine(e); Trace.Flush(); #endif this.OnException(e); } } }