BACnet.Ashrae.IAmRequest.Load C# (CSharp) Method

Load() public static method

public static Load ( IValueStream stream ) : IAmRequest
stream IValueStream
return IAmRequest
        public static IAmRequest Load(IValueStream stream)
        {
            stream.EnterSequence();
            var iAmDeviceIdentifier = Value<ObjectId>.Load(stream);
            var maxAPDULengthAccepted = Value<uint>.Load(stream);
            var segmentationSupported = Value<Segmentation>.Load(stream);
            var vendorID = Value<uint>.Load(stream);
            stream.LeaveSequence();
            return new IAmRequest(iAmDeviceIdentifier, maxAPDULengthAccepted, segmentationSupported, vendorID);
        }