Apache.NMS.ActiveMQ.OpenWire.BaseDataStreamMarshaller.LooseUnmarshalCachedObject C# (CSharp) Method

LooseUnmarshalCachedObject() protected method

protected LooseUnmarshalCachedObject ( OpenWireFormat wireFormat, BinaryReader dataIn ) : DataStructure
wireFormat OpenWireFormat
dataIn System.IO.BinaryReader
return DataStructure
        protected virtual DataStructure LooseUnmarshalCachedObject(
            OpenWireFormat wireFormat,
            BinaryReader dataIn)
        {
            /*
             if (wireFormat.isCacheEnabled()) {
             if (bs.ReadBoolean()) {
             short index = dataIndataIn.ReadInt16()Int16();
             DataStructure value = wireFormat.UnmarshalNestedObject(dataIn, bs);
             wireFormat.setInUnmarshallCache(index, value);
             return value;
             } else {
             short index = dataIn.ReadInt16();
             return wireFormat.getFromUnmarshallCache(index);
             }
             } else {
             return wireFormat.UnmarshalNestedObject(dataIn, bs);
             }
             */
            return wireFormat.LooseUnmarshalNestedObject(dataIn);
        }