BACnet.IP.ForeignDevicePort._createInboundNetgram C# (CSharp) Метод

_createInboundNetgram() приватный Метод

Creates an inbound netgram
private _createInboundNetgram ( Mac mac, byte buffer, int offset, int length ) : NetgramReceivedMessage
mac BACnet.Core.Datalink.Mac The mac address of the device that sent the netgram
buffer byte The buffer containing the netgram content
offset int The offset of the netgram within the buffer
length int The length of the received datagram
Результат BACnet.Core.Datalink.NetgramReceivedMessage
        private NetgramReceivedMessage _createInboundNetgram(Mac mac, byte[] buffer, int offset, int length)
        {
            return new NetgramReceivedMessage(
                this.PortId,
                mac,
                new BufferSegment(buffer, offset, length));
        }