Apache.NMS.ActiveMQ.OpenWire.V2.WireFormatInfoMarshaller.LooseUnmarshal C# (CSharp) Méthode

LooseUnmarshal() public méthode

public LooseUnmarshal ( OpenWireFormat wireFormat, Object o, BinaryReader dataIn ) : void
wireFormat OpenWireFormat
o Object
dataIn System.IO.BinaryReader
Résultat void
        public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
        {
            base.LooseUnmarshal(wireFormat, o, dataIn);

            WireFormatInfo info = (WireFormatInfo)o;

            info.BeforeUnmarshall(wireFormat);

            info.Magic = ReadBytes(dataIn, 8);
            info.Version = dataIn.ReadInt32();
            info.MarshalledProperties = ReadBytes(dataIn, dataIn.ReadBoolean());

            info.AfterUnmarshall(wireFormat);
        }